Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use destroy flag when invoking plan #104

Open
michael-mcguinness opened this issue Apr 26, 2021 · 2 comments
Open

Unable to use destroy flag when invoking plan #104

michael-mcguinness opened this issue Apr 26, 2021 · 2 comments

Comments

@michael-mcguinness
Copy link

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.
@michael-mcguinness
Copy link
Author

Closing for further investigation and clearer failure modes

@naorlivne
Copy link

Seems to me like it's the same issue with #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants