-
Notifications
You must be signed in to change notification settings - Fork 173
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
(1, '', '\nError: Failed to parse command-line flags\n\nflag provided but not defined: -force\n\nFor more help on using this command, run:\n terraform destroy -help\n') #108
Comments
Is it because of this? hashicorp/terraform#27681 |
must be, i've run into this issue today after updating from an older version of Terraform - how annoying! |
Ran into it as well, looks like latest terraform 1.0.x changed its behavior and lib is applying the |
* [add] Added target tables grafana logic * [fix] Fixes based on beelit94/python-terraform#108 * Bumping version from 0.5.21 to 0.5.22
… on (#248) * [add] Added target tables grafana logic * [fix] Fixes based on beelit94/python-terraform#108 * Bumping version from 0.5.21 to 0.5.22 * [add] Enabled keeping local env up via KEEP_ENV var * [fix] Fixed profilers always on * Bumping version from 0.5.22 to 0.5.23
This problem is super annoying but I finally figured out a good workaround. Since 0.15.2,
|
I have a terraform script which is able to destroy the instance using "terraform destroy" command. But I am getting an error while I try to do the same thing from python-terraform.
Please find the code I used for destroying the instance:
Errror:
(1, '', '\nError: Failed to parse command-line flags\n\nflag provided but not defined: -force\n\nFor more help on using this command, run:\n terraform destroy -help\n')
Versions:
python-terraform: 0.10.1
Terraform CLI: Terraform v1.0.0
on linux_amd64
The text was updated successfully, but these errors were encountered: