Terraform State → Ansible Dynamic Inventory
--inventory
option to produce an output similar to Ansible host file (via @andrefbsantos, #31)outputs
format in tfstate (via @rsdy, #43)all
group as per Ansible inventory script conventions (via @Jonnymcc, #46).terraform/terraform.tfstate
, for remote state (via @adammck, #41)This is a pre-release. It works for me, but would benefit from wider testing. Feedback welcome!
This release was generously sponsored by Transloadit. Thanks, @kvz!
This release was generously sponsored by Transloadit. Thanks, @kvz!
count=n
resourcesThis is a highly unstable release, and unsuitable for probably anything. I'm releasing a build of #22, to make it simpler to test. I've only personally tested this against AWS. There will almost certainly be more releases before it becomes stable.
This release has not been tested against a real system. Feedback welcome.
terraform.tfstate
files in pwd