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:
Error: Failed to parse command-line flags
flag provided but not defined: -force
For more help on using this command, run:
terraform destroy -help