We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, The older terraform version destroy had -force parameter, whereas the newer one has "-auto-approve"
Code: return_code, stdout, stderr = tf.destroy(auto_approve=True)
return_code, stdout, stderr = tf.destroy(auto_approve=True)
Output:
Error: Failed to parse command-line flags flag provided but not defined: -force For more help on using this command, run: terraform destroy -help
The text was updated successfully, but these errors were encountered:
Please delete this line 155 from terraform.py:
default["force"] = force
Sorry, something went wrong.
As a workaround, you could use the following:
tf.cmd("destroy", "-auto-approve")
No branches or pull requests
Hello,
The older terraform version destroy had -force parameter, whereas the newer one has "-auto-approve"
Code:
return_code, stdout, stderr = tf.destroy(auto_approve=True)
Output:
The text was updated successfully, but these errors were encountered: