-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
With the following bitops.config.yaml:
terraform:
cli:
stack-action: apply
options: {}
and ENV variable TERRAFORM_DESTROY=true the plugin runs plan -> apply -> destroy sequence which is undesired.
The expected behavior with TERRAFORM_DESTROY=true is that it'll take precedence over all the terraform stack-actions and just destroy should be executed.
Otherwise, it may lead to apply -> destroy resource recreation which could be not just a waste of time/resources, but harmful in production.
Even with an empty Terraform plugin config (defaults to plan), only destroy should be executed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working