python-terraform
python-terraform copied to clipboard
Unable to use destroy flag when invoking plan
This is for Terraform 0.15
From the command line I can run
terraform plan -destroy
None of the following invocations work
terraform.cmd('plan', destroy=terraform.IsFlagged)
invalid boolean value "<function Terraform.__getattr__.<locals>.wrapper at
│ 0x10dcfbd30>" for -destroy: parse error
terraform.cmd('plan', 'destroy=True)
Error: Too many command line arguments
│
| To specify a working directory for the plan, use the global -chdir flag.
Closing for further investigation and clearer failure modes
Seems to me like it's the same issue with #103