-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
Describe the feature
As described here, S3 now has an account regional namespace suffix. For the purposes of CDK, I think it just requires appending -an to the default StagingBucket's name (and handling the breaking change - which is more work).
aws-cdk/packages/@aws-cdk/app-staging-synthesizer-alpha/lib/default-staging-stack.ts
Line 380 in 6903378
| const stagingBucketName = this.stagingBucketName ?? `cdk-${this.appId}-staging-${this.account}-${this.region}`; |
Use Case
I want to protect against bucket squatting for CDK buckets.
Proposed Solution
No response
Other Information
For my own personal accounts, I can customize the staging bucket name so no change is needed, but making this the default for future accounts could be a good idea.
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
2.243.0
AWS CDK CLI version
2.243.0
Environment details (OS name and version, etc.)
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI