CDK Bootstrap requires --app
See original GitHub issue❓ General Issue
The Question
I recently updated my project aws-cdk dependencies from v1.35.0 to v1.38.0 and I seem to be experiencing a new issue where if I call npx cdk bootstrap aws://${TARGET_ACCOUNT}/${AWS_REGION}
in my bash script, I get the error --app is required either in command-line, in cdk.json or in ~/.cdk.json
previously I was able to use this command without --app
.
I noticed that there was something changed in this area in v1.36.0, see #7510.
I’m struggling to find any supporting documentation on this change where --app
is required to run cdk bootstrap
.
Is this intended functionality, or has a bug been introduced?
Environment
- CDK CLI Version: 1.38.0 (build d5fa31f)
- Module Version: 1.38.0
- OS: all
- Language: TypeScript
Other information
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Bootstrapping - AWS Cloud Development Kit (AWS CDK) v2
Bootstrapping is the process of provisioning resources for the AWS CDK before you can ... May require changes to your CDK app (see...
Read more >What does CDK Bootstrap do | bobbyhadz
CDK bootstrap creates a CloudFormation stack with an S3 bucket that stores file assets, required for deployments.
Read more >Least deployment privilege with CDK Bootstrap - Better Dev
Bootstrapping creates the resources required by the CDK on the account. ... only the AWS services that we use in our CDK application....
Read more >Production-Ready CDK - Bootstrapping - Luminis
What is AWS CDK Bootstrapping? To use CDK and deploy our CDK app to our AWS environment(an AWS account plus a region), we...
Read more >Bootstrapping AWS CDK in a Secure Environment - Medium
You know the name of the permission boundary policy required in your environment. Generate a default CDK bootstrap template and save it as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tmclaugh - thanks! - I think i’ve gotten into the failure point. writing up a fix, tests, etc
Below is from my CI/CD pipeline logs. I want to add that I don’t bootstrap from an existing product. This is a CI/CD pipeline job to bootstrap a new account.