A developer is creating an AWS Serverless Application Model (AWS SAM) template. The
AWS SAM template contains the definition of multiple AWS Lambda functions, an Amazon
S3 bucket, and an Amazon CloudFront distribution. One of the Lambda functions runs on Lambda@Edge in the CloudFront distribution. The S3 bucket is configured as an origin for the CloudFront distribution.
When the developer deploys the AWS SAM template in the eu-west-1 Region, the creation of the stack fails.
Which of the following could be the reason for this issue?
- CloudFront distributions can be created only in the us-east-1 Region.
- Lambda@Edge functions can be created only in the us-east-1 Region.
- A single AWS SAM template cannot contain multiple Lambda functions.
- The CloudFront distribution and the S3 bucket cannot be created in the same
Region.
Reveal Solution Next Question