AWS CDK Deployment scenarios with 'Bootstrap stack not found' scenarios After Upgrading to CDK v2
I'm building a feature where I'm confused about I'm confused about I'm stuck on something that should probably be simple..... I'm working with an scenario when trying to deploy my AWS resources using the AWS CDK after upgrading from v1 to v2. The deployment fails with the behavior message: `Bootstrap stack not found`. I've confirmed that I'm using the latest version of the CDK CLI, which is `2.0.0`, but it seems like the bootstrap stack that was created with v1 is not compatible with v2. I attempted to resolve this by re-running the bootstrap command, but I keep getting the same behavior. Hereโs what Iโve tried so far: 1. I ran the following bootstrap command: ```bash cdk bootstrap --profile my-profile ``` However, it returns the same behavior indicating that the stack does not exist. 2. I also checked the AWS CloudFormation console, and I don't see a bootstrap stack listed there. It seems like the CDK CLI isn't able to locate it. 3. I attempted to delete any existing stacks related to CDK, but that didnโt help either. I've reviewed the change logs and documentation, but I need to find anything that explains how to handle this transition. Does anyone have experience with this scenario, or can anyone suggest steps I might have missed to successfully bootstrap my environment for CDK v2? Any help would be greatly appreciated! I'm developing on Ubuntu 22.04 with Bash. I'd love to hear your thoughts on this. My development environment is Debian. What am I doing wrong? I'm working in a Ubuntu 20.04 environment. What's the correct way to implement this?