What does `cdk bootstrap` do?
IntermediateConceptIaC & AWS developer tools (CDK, CodePipeline)
Answer
Bootstrapping creates resources that CDK needs in an account and region before the first deploy: an S3 bucket and ECR repository for assets, and IAM roles for deployment. Run it once per account and region, including cross-account trust if a pipeline account deploys to others.