-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-cloudfrontRelated to Amazon CloudFrontRelated to Amazon CloudFrontbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortin-progressThis issue is being actively worked on.This issue is being actively worked on.p1
Description
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
- CDK CLI Version : 1.85.0
- Node.js Version: 15.4.0
- Language (Version): TypeScript 4.1.3
This is 🐛 Bug Report
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-cloudfrontRelated to Amazon CloudFrontRelated to Amazon CloudFrontbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortin-progressThis issue is being actively worked on.This issue is being actively worked on.p1