Closed Vishal2696 closed 4 years ago
Are you using TF 0.12.x?
Oh and version of python-terraform?
@Spikeophant python-terraform = 0.10.1 Terraform = 0.12.21
@Spikeophant Any update on this?
At cli you pass auto-approve like terraform apply -auto-approve, if you read the readme for this project flags like that get set as auto_approve=IsFlagged not True. From the readme:
terraform apply -no-color
-->
additionally you are using a dash which is explicitly called out in the documentation as well: dash to underscore
remove first dash, and then use underscore to replace dash symbol as option name
ex. -no-color --> no_color
I'm using Python3. I tried to run terraform apply using
auto-approve
tag. This resulted in the program standing still after plan. It was stuck and there was no progress nor error from the script. However, the program was executed successfully when theauto-approve
was removed. Below is my code,