This is a little Go app that generates a dynamic Ansible inventory from a Terraform state file. It allows one to spawn a bunch of instances with Terraform, then (re-)provision them with Ansible. This library is stable, but I've been neglecting it somewhat on account of no longer using Ansible at work. On OSX, install it with Homebrew. Alternatively, you can download a release suitable for your platform and unzip it. Make sure the terraform-inventory binary is executable, and you're ready to go...