Skip to content

fix: add missing ResponsePagePath for ErrorCode 501 configuration#20

Open
boy672820 wants to merge 1 commit intoaws-samples:mainfrom
boy672820:response-page-path-fix
Open

fix: add missing ResponsePagePath for ErrorCode 501 configuration#20
boy672820 wants to merge 1 commit intoaws-samples:mainfrom
boy672820:response-page-path-fix

Conversation

@boy672820
Copy link

Issue #19

Description of changes:
In the configuration for ErrorCode: 501, the ResponseCode was specified but the ResponsePagePath was missing.

According to AWS CloudFront requirements, both ResponseCode and ResponsePagePath must either be specified together or omitted together. This mismatch caused deployment failures when using CloudFormation.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@boy672820 boy672820 mentioned this pull request Aug 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant