-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp3package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
Describe the bug
Configure AWS profile to an account that has not been bootstrapped with cdk.
Run cdk destroy - cdk reports success.
Expected Behavior
cdk should report an error indicating that the selected stack does not exist.
Current Behavior
cdk incorrectly reports success in destroying the stack.
Reproduction Steps
Create a stack, switch accounts. execute: cdk destroy
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.43.1 (build c1ebb85)
Framework Version
No response
Node.js Version
v16.16.0
OS
MacOS Monterey
Language
Typescript
Language Version
Actually, javascript but drop down does not offer that option
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortfeature-requestA feature should be added or improved.A feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp3package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI