Skip to content

Commit

Permalink
Rename to terraform-inventory
Browse files Browse the repository at this point in the history
To match the recommended plugin naming scheme, even though this isn't a
plugin (yet?).
  • Loading branch information
adammck committed Sep 24, 2014
1 parent 4d13e03 commit 2938602
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
terraformedinventory
/terraform-inventory
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Terraform, then (re-)provision them with Ansible. It's pretty neat.

Just download the OSX binary and run it.

curl -L -O https://github.com/adammck/terraformedinventory/releases/download/v0.1/terraformedinventory
chmod u+x terraformedinventory
./terraformedinventory --list whatever.tfstate
curl -L -O https://github.com/adammck/terraform-inventory/releases/download/v0.2/terraform-inventory
chmod u+x terraform-inventory
./terraform-inventory --list whatever.tfstate

Ansible doesn't (seem to) support calling the inventory script with parameters,
so I like to wrap this tool up in a little shell script, and call that.
Something like:

#!/bin/bash
terraformedinventory $@ $(dirname $0)/deploy/terraform.tfstate
terraform-inventory $@ $(dirname $0)/deploy/terraform.tfstate

Configuration via environment variables, like most other dynamic inventory
scripts, is coming soon.
Expand All @@ -28,8 +28,8 @@ scripts, is coming soon.

[Install Terraform] [tfdev] from source, then:

git clone https://github.com/adammck/terraformedinventory.git
cd terraformedinventory
git clone https://github.com/adammck/terraform-inventory.git
cd terraform-inventory
go build


Expand Down
File renamed without changes.

0 comments on commit 2938602

Please sign in to comment.