(aws-cloudfront): EdgeFunction us-east-1 helper stack created in different account #12789
Labels
@aws-cdk/aws-cloudfront
Related to Amazon CloudFront
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
in-progress
This issue is being actively worked on.
p1
When using a EdgeFunction inside a environment stack the us-east-1 helper stack is created in a different account (the one with the aws credentials)
Reproduction Steps
Use demo from https://docs.aws.amazon.com/cdk/api/latest/docs/aws-cloudfront-readme.html#lambdaedge
Created it inside environment stack (with account "A") and deploy with aws credentials of account "B".
What did you expect to happen?
us-east-1 helper stack should be deployed to account "A"
What actually happened?
us-east-1 helper stack is deployed to account "B"
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: