cdk-constructs icon indicating copy to clipboard operation
cdk-constructs copied to clipboard

Graceful Deletion of Lambda@Edge support stack

Open stonedMoose opened this issue 4 years ago • 0 comments

Hi,

I started using your awesome package recently to support lambda@edge function from a non us-east-1 stack.

I have a problem though regarding graceful deletion of the stack that used EdgeFunction construct.

When I try to delete my main stack, it fails because the edge support stack cannot be deleted because the replicated function used by cloudfront could not be deleted either.

I was wondering if there is a way to mark edge function removal policy as RETAIN, so deleting the edge support stack would not fail ?

stonedMoose avatar Feb 14 '21 14:02 stonedMoose