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
It would be nice if the spacectl cli offered a command to delete stacks. Something like spacectl stack delete --id my-stack-id.
I typically manage the creation/deletion of stacks using terraform. However, in my automated testing of my module which is used for stack provisioning I occasionally need to delete stacks manually which were created during automated testing due to failures that occur during a test. Today I have to go into the spacelift UI and manually click the delete button. It would be nice to be able to script this so that if my automated test fails then it can try to perform cli commands to clean up the failed stacks.
The text was updated successfully, but these errors were encountered:
Spacectl isn't really made for creating, mutating or deleting resources such as stacks. While I understand the reasoning behind this request, I'm not sure if we'll implement it.
It would be nice if the spacectl cli offered a command to delete stacks. Something like
spacectl stack delete --id my-stack-id
.I typically manage the creation/deletion of stacks using terraform. However, in my automated testing of my module which is used for stack provisioning I occasionally need to delete stacks manually which were created during automated testing due to failures that occur during a test. Today I have to go into the spacelift UI and manually click the
delete
button. It would be nice to be able to script this so that if my automated test fails then it can try to perform cli commands to clean up the failed stacks.The text was updated successfully, but these errors were encountered: