Skip to content

Commit d6240d4

Browse files
committed
Restore missing flag for 'terraform destroy'.
(should pass '-force' argument)
1 parent ab884a5 commit d6240d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/destroy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
// Destroy invokes Terraform's "destroy" command.
88
func (terraformer *Terraformer) Destroy() (success bool, err error) {
99
success, err = terraformer.RunStreamed("destroy",
10-
"-input=false", // non-interactive
10+
"-force", "-input=false", // non-interactive
1111
"-no-color",
1212
"-var-file=tfvars.json",
1313
)

0 commit comments

Comments
 (0)