terraform-exec icon indicating copy to clipboard operation
terraform-exec copied to clipboard

apply: allow use of -destroy flag for compatible terraform versions

Open rstandt opened this issue 3 years ago • 2 comments

Implement the ApplyOption interface for the DestroyFlagOption struct which enables the user to run terraform apply -destroy as they would using the terraform binary directly by calling func (tf *Terraform) Apply.

rstandt avatar Apr 15 '22 17:04 rstandt

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Apr 15 '22 17:04 hashicorp-cla

Resolves https://github.com/hashicorp/terraform-exec/issues/293

rstandt avatar Apr 15 '22 17:04 rstandt