In the current state we created a WebACL with CLOUDFRONT scope with a custom resource.
The custom resource started to get an empty result payload and deployment failed.
This PR has the following changes:
Create a standalone stack that creates the WebACL with CLOUDFRONT scope in the us-east-1 region AND saves the ARN into the working region (e.g.: ap-southeast-1) via a custom resource into Parameter Store
Setup a dependency between the newly created stack and the simulator's persistent backend stack
SimulatorPersistentBackendStack will pick up the SSM Parameter from its own region and associates it to the CF distribution
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
In the current state we created a
WebACL
withCLOUDFRONT
scope with a custom resource. The custom resource started to get an empty result payload and deployment failed.This PR has the following changes:
WebACL
withCLOUDFRONT
scope in theus-east-1
region AND saves theARN
into the working region (e.g.:ap-southeast-1
) via a custom resource into Parameter StoreSimulatorPersistentBackendStack
will pick up the SSM Parameter from its own region and associates it to the CF distributionBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.