mantl / terraform.py

Ansible dynamic inventory script for parsing Terraform state files
Apache License 2.0
451 stars 122 forks source link

Why not always use terraform state pull? #70

Open palmertime opened 7 years ago

palmertime commented 7 years ago

The only way i can get terraform.py to read tfstate is by setting the --noterraform option or if a .terraform directory exists.

Seems like terraform state pull works great for local or remote states. Should terraform state pull be the default? And possibly change --noterraform to --localtfstate or --noremotestate if its required for some reason.

gregswift commented 5 years ago

I just found this and its amazing and i want to use it... but i'm already looking at how to deal w/ all of my state being remote.

I would love to help make this happen if someone already has a path in mind i'm down to get a brain dump