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.
Explanations:
CloudFront distributions can be created in any AWS Region, but they are global services that utilize edge locations worldwide. However, the main configuration of CloudFront is done in the US East (N. Virginia) region (us-east-1), but it can be managed from any region.
Lambda@Edge functions must be created in the us-east-1 region. Even if the CloudFront distribution is managed from another region, any associated Lambda@Edge functions must be deployed in us-east-1.
An AWS SAM template can contain multiple Lambda functions. There are no restrictions on the number of Lambda functions that can be defined within a single AWS SAM template.
The CloudFront distribution and the S3 bucket can be created in the same region. However, S3 buckets are region-specific, while CloudFront is a global service. The origin (S3 bucket) can reside in a different region from the CloudFront distribution.