Skip to content

Possible to override a static website Web ACL rule? #260

Answered by agdimech
bhrutledge asked this question in Q&A
Discussion options

You must be logged in to vote

Hi mate.

Unfortunately the WebACL is not a CDK construct and is actually a custom resource under the covers. The reason for this is that there is a limitation with the CDK currently where the ACL can only be created in the same region as the stack being deployed. Given we want to host on Cloudfront, the WebACL must be deployed to us-east-1, hence why we need to use a custom resource.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by agdimech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants