I asked this on github: With Terraform cloud can I have Terraform state that behaves more like cloudformation stacks? · Issue #23807 · hashicorp/terraform · GitHub
And got this response:
The “Apply a Run” operation operation lets you run Terraform against the latest configuration known to Terraform Cloud (by omitting the explicit configuration version id). You can set
is-destroy
to instruct Terraform Cloud to runterraform destroy
instead ofterraform apply
.
Im confused about how I do this. Is there a cli command to do this? To test I setup terraform cloud and a git provider. I ran an apply and I see the state. Now how can I have terraform cloud destroy that state and workspace (without having to supply a config)
I want to be able to delete a terraform workspace/state like I can delete a cloudformation stack