mirror of
https://github.com/adammck/terraform-inventory
synced 2024-11-23 00:12:13 +01:00
Rename to terraform-inventory
To match the recommended plugin naming scheme, even though this isn't a plugin (yet?).
This commit is contained in:
parent
4d13e0328f
commit
2938602cae
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
terraformedinventory
|
/terraform-inventory
|
||||||
|
12
README.md
12
README.md
@ -9,16 +9,16 @@ Terraform, then (re-)provision them with Ansible. It's pretty neat.
|
|||||||
|
|
||||||
Just download the OSX binary and run it.
|
Just download the OSX binary and run it.
|
||||||
|
|
||||||
curl -L -O https://github.com/adammck/terraformedinventory/releases/download/v0.1/terraformedinventory
|
curl -L -O https://github.com/adammck/terraform-inventory/releases/download/v0.2/terraform-inventory
|
||||||
chmod u+x terraformedinventory
|
chmod u+x terraform-inventory
|
||||||
./terraformedinventory --list whatever.tfstate
|
./terraform-inventory --list whatever.tfstate
|
||||||
|
|
||||||
Ansible doesn't (seem to) support calling the inventory script with parameters,
|
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.
|
so I like to wrap this tool up in a little shell script, and call that.
|
||||||
Something like:
|
Something like:
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
terraformedinventory $@ $(dirname $0)/deploy/terraform.tfstate
|
terraform-inventory $@ $(dirname $0)/deploy/terraform.tfstate
|
||||||
|
|
||||||
Configuration via environment variables, like most other dynamic inventory
|
Configuration via environment variables, like most other dynamic inventory
|
||||||
scripts, is coming soon.
|
scripts, is coming soon.
|
||||||
@ -28,8 +28,8 @@ scripts, is coming soon.
|
|||||||
|
|
||||||
[Install Terraform] [tfdev] from source, then:
|
[Install Terraform] [tfdev] from source, then:
|
||||||
|
|
||||||
git clone https://github.com/adammck/terraformedinventory.git
|
git clone https://github.com/adammck/terraform-inventory.git
|
||||||
cd terraformedinventory
|
cd terraform-inventory
|
||||||
go build
|
go build
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user