terraform-exec
terraform-exec copied to clipboard
apply: allow use of -destroy flag for compatible terraform versions
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.
Resolves https://github.com/hashicorp/terraform-exec/issues/293