mantl / terraform.py

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

Add Terraform outputs as extra variables #77

Closed danlamanna closed 3 years ago

danlamanna commented 7 years ago

This takes the formal outputs defined within Terraform and creates variables in Ansible based off of them.

Note: This is an incredibly crude implementation designed just as a proof of concept (you'll notice it's only implemented for the aws_instance resource at the moment). Once we can flesh out what's desired here I can clean it up further.

This incidentally fixes #72.

danlamanna commented 7 years ago

Fixed. Again this is a proof of concept, after discussing the right scope here I'll write additional tests.

On Thu, Aug 31, 2017 at 16:08 PM, Travis Rowland notifications@github.com wrote:

Theaxiom requested changes on this pull request.

This is failing the build. Please fix it so the build passes.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/mantl/terraform.py/pull/77#pullrequestreview-60013948