You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deleting the stack vpc-demo which exports a vpc reference currently used by other stacks fails with no message other than UPDATE_COMPLETE:
⏳ Starting destruction of stack vpc-demo...
❌ Destruction failed: vpc-demo Error: Failed to destroy vpc-demo (current state: UPDATE_COMPLETE)!
at Object.destroyStack (/Users/mp/.nvm/versions/node/v10.7.0/lib/node_modules/aws-cdk/lib/api/deploy-stack.ts:152:15)
at process._tickCallback (internal/process/next_tick.js:68:7)
Failed to destroy vpc-demo (current state: UPDATE_COMPLETE)!
I would expect at best it to tell me which stacks are using its outputs or at worst the fact that it can't be deleted because of that.
Looking at the output of list-stacks via the AWS CLI shows that this error is present and should be returned to the user:
"StackStatus": "UPDATE_COMPLETE",
"StackStatusReason": "Export vpc-demo:DemoVPCPublicSubnetIDs0C2D9BEE cannot be deleted as it is in use by cdk-vpc-to-cfn-elb-demo and elb-cfn-demo"
},
The text was updated successfully, but these errors were encountered:
rix0rrr
changed the title
Deletion of stack that other stack depends on does not provide useful diagnostics
Toolkit: stack update failure should show StackStatusReason
Aug 20, 2018
Deleting the stack
vpc-demo
which exports a vpc reference currently used by other stacks fails with no message other thanUPDATE_COMPLETE
:I would expect at best it to tell me which stacks are using its outputs or at worst the fact that it can't be deleted because of that.
Looking at the output of
list-stacks
via the AWS CLI shows that this error is present and should be returned to the user:The text was updated successfully, but these errors were encountered: