terraform-inventory
terraform-inventory copied to clipboard
Terraform State → Ansible Dynamic Inventory
I think this would close #158. Looking for feedback and also examples of valid resource names so that I can write some tests.
I have a key name for a resource that looks like the following: ``` aws_route53_record.module_ec2_webserver["www_656_mba"]_the_dns_record ``` That's because I'm using `for_each` over an object in my terraform configuration. I'd like...
It appears that if you use `digitalocean_floating_ip_assignment` in your .tf file the terrafrom-inventory script will be unable to parse the resulting state file. ``` ➜ git:(master) ✗ TF_STATE=. ./terraform-inventory --list...
Is there any interest in adding support for the http backend to allow this tool to serve state and handle locking in addition to the Ansible inventory features? We have...
Terraform Inventory seems to create groups with '.' characters in the groups. This delimiter in turn generates warnings from Ansible because they are invalid characters and produces a warning. [WARNING]:...
We'd like to pick up #139 and would rather not build ourself. Thanks!
I updated to tf .12.6 and terraform inventory .9, but I'm getting errors that the tfstate is not current. I'm not sure why, because this is a whole new rollout...
After destroying our **openstack** instance with **terraform v0.12.10** then **terraform-inventory v0.9** crash with following message and our pipeline cannot continue: `Error reading tfstate file: 0.12 format error: ; pre-0.12 format...
This results in this error: `Error reading tfstate file: 0.12 format error: json: cannot unmarshal string into Go struct field resourceStateTerraform0dot12.index of type int; pre-0.12 format error: (nil error means...