[Solved] How bootstrap decide what should be made?


Bootstrapping does not depend on the stacks you’re deploying, it’s the same for everyone by default. You can specify your own template, but that’s for advanced usage. The documentation lays out the purposes of bootstrapping pretty clearly:

Deploying AWS CDK apps into an AWS environment (a combination of an
AWS account and region) may require that you provision resources the
AWS CDK needs to perform the deployment. These resources include an
Amazon S3 bucket for storing files and IAM roles that grant
permissions needed to perform deployments. The process of provisioning
these initial resources is called bootstrapping.

solved How bootstrap decide what should be made?