Question 141 · 548 in bank
Given the following AWS CloudFormation template:
What is the MOST efficient way to reference the new Amazon S3 bucket from another AWS CloudFormation template?
Show answer
Answer: A
Explanation
By adding an Export declaration to the Outputs section of the original CloudFormation template, you can make the bucket name available for other templates to import and use. This allows you to reference the bucket name directly in other templates without the need for additional resources or custom logic.
Source: Adapted from community discussion — papason