1
1
mirror of https://github.com/adammck/terraform-inventory synced 2024-11-26 11:53:48 +01:00
Commit Graph

131 Commits

Author SHA1 Message Date
nixar
1046853480 Add support for terraform-provider-libvirt (#90)
See: https://github.com/dmacvicar/terraform-provider-libvirt
2018-06-01 10:45:50 -04:00
Ned McClain
dd594d5811 Add Packet support (#89) 2018-06-01 10:08:22 -04:00
Cory Fisher
1795be7398 Add note that the Docker provider is supported (#85)
Also ordered providers in README alphabetically to be user friendly.
2018-03-08 13:01:13 -05:00
Atadilo
0a44aad0f6 Fix vSphere provider (#84) 2018-01-24 14:32:25 -05:00
Guillaume ESPANEL
1728bbc3d1 Add public_ipv6 to keyNames (#83)
Scaleway servers should be reachable through ipv6 if they don't have a
public_ip attribute.
2017-12-21 15:15:16 -05:00
Adam Mckaig
c285367ecf
Update README.md 2017-11-27 11:05:02 -05:00
Santiago M. Mola
fa8c48d3c5 Add Scaleway provider (#80) 2017-11-27 11:04:29 -05:00
Sami Hiltunen
2222e6477f Order output for resources with count (#77) 2017-10-20 11:32:34 -04:00
Jacopo Secchiero
636eac273c Skip % when parsing OpenStack metadata (#78) 2017-09-19 10:56:50 -04:00
Seua Polyakov
c23c86aa4b Fix non-string vars in --inventory output (#72)
* Fix --inventory output
* Sort --inventory output
2017-09-19 10:54:24 -04:00
Yonatan Koren
3093ecd497 Fix tags for Joyent Triton (#76) 2017-09-08 11:40:08 -04:00
Yonatan Koren
3dd8834717 Add Joyent Triton support (#75) 2017-09-07 15:36:52 -04:00
Jan Jungnickel
9235bf4079 Return an empty hash for unknown hosts (#73)
When using a static inventory that declares new hosts alongside a
dynamic inventory provided by this utility, ansible will call the
dynamic inventory with `--host <host>` to merge in additional vars
that may have been provided by the dynamic inventory.

The default behaviour of *terraform-inventory* is to output an error
message when an unknown host is encountered, breaking this
functionality.

The correct behaviour is to return an empty hash implying there are
no additional vars for this host.
2017-09-04 11:56:13 -04:00
Adam Mckaig
ca187a186e Update README.md 2017-07-11 23:26:28 -04:00
Philippe Chepy
b089c9c175 Add support for Exoscale (#70) 2017-07-11 23:18:20 -04:00
Nic Grayson
656ee7639a Add tags for vSphere instances (#68) 2017-06-20 13:24:02 -04:00
Nic Grayson
1063a010f5 Add vSphere IP location (#67) 2017-06-13 14:37:27 -04:00
Husayn Arrah
313d404eb3 Add support for remote state (#60)
* add support for remote state in version 0.9
* remove .terraform/terraform.tfstate as a source
2017-06-09 15:25:34 -04:00
drymonsoon
898a7270c4 Add OpenStack metadata integration (#65) 2017-06-09 15:16:21 -04:00
Jonathan McCall
6f4c1a9983 Stop creating groups for tfstate attribute counts (#47)
The count attribute key in state files has changed from # to %
2017-06-09 14:59:21 -04:00
pts-rajperera
cf2e5a91a3 Update README.md
Add instructions on how to retrieve the private IP for deployment
2017-02-05 21:33:45 -05:00
Michael Bøcker-Larsen
017b2858b0 Added support for Digital Ocean droplet tags (#56) 2017-01-19 12:50:57 -05:00
Sameer Chauhan
be8d8d7bdb Initializes all_group to be an empty array (#49)
* Initialize all_group with empty slice
2017-01-18 21:24:46 -05:00
Adam Mckaig
1de0b94c9f Add tags/groups support for GCP (#55)
* Add tags/groups support for GCP
* Add GCP tags test
2017-01-18 21:19:34 -05:00
Adam Mckaig
87cfce494f Update README.md 2016-11-15 20:16:17 -05:00
Do Nhat Minh
cc7a2edc5f added SoftLayer support (#52) 2016-11-15 20:14:54 -05:00
Adam Mckaig
eccf845995 Add LICENSE
This has always been MIT (per the README), but I never added a LICENSE file.
2016-09-22 10:16:27 -04:00
Adam Mckaig
0d13a3f813 Add Help Wanted note to README v0.7-pre 2016-09-22 00:18:17 -04:00
Jonathan McCall
0e941ce0d5 Create all group as per Ansible inventory script conventions (#46)
* Conform to Ansible inventory script conventions
* Make cmdInventory work with all group
* Add only uniq hosts to group "all"'s host list
* go fmt
* Fix typo
* Fix tests broken by #46
* Add duplicate host to test appendUniq
* Fix appendUniq and dedup other groups besides "all"
2016-09-22 00:13:26 -04:00
Isao Jonas
e62801bb58 allow for non-string outputs (#45) 2016-09-06 23:05:30 -04:00
rhapsodhy
df104e9b15 New outputs format in tfstate (#43)
* New `output` format in tfstate
* Make `outputs` parser compatible with <0.7 terraform
2016-08-19 10:43:14 -04:00
Adam Mckaig
9493db0fbd Check .terraform/terraform.tfstate, for remote state (#41)
* Move input path stuff to GetInputPath
* Look for .terraform/terraform.tfstate
* Update README
2016-08-18 22:15:55 -04:00
Adam Mckaig
649b4a540e Fix Homebrew instructions 2016-08-11 22:13:43 -04:00
Adam Mckaig
0d93011d16 Add helpful (?) README badges 2016-08-11 22:10:03 -04:00
Adam Mckaig
8f5356a8a6 Add Travis 2016-08-11 21:58:38 -04:00
Adam Mckaig
56a30022f5 Merge pull request #37 from reedloden/improve-homebrew-support
Improve Homebrew installation support
2016-06-02 10:49:00 -04:00
Reed Loden
aa62cd14cb Improve Homebrew installation support
Make this repository work with `brew tap` and use SHA-256 for checksum,
as SHA-1 support is deprecated.
2016-06-02 00:38:00 -07:00
Adam Mckaig
d56007128d Fix usage docs
Closes #29.
2016-05-19 11:16:49 -04:00
Adam Mckaig
9debcb4a47 Merge pull request #30 from lazartravica/master
Showing Terraform outputs as "global" variables
2016-04-09 12:16:38 -04:00
Lazar Travica
df49397b0c Go fmt. 2016-04-09 17:27:00 +02:00
Lazar Travica
44c888e6c8 Made compatible with pull request #31 2016-04-09 17:22:39 +02:00
Lazar Travica
bec63f57e1 Merge remote-tracking branch 'upstream/master' 2016-04-09 17:07:01 +02:00
Adam Mckaig
3d2948144e Merge pull request #31 from andrefbsantos/add_inventory_option
Added the inventory option to produce an output similar to Ansible host file
2016-04-03 11:01:55 -04:00
Lazar Travica
2f590ebe29 Added the test for terraform outputs. 2016-04-02 21:12:48 +02:00
Lazar Travica
dd3fd95492 Merge remote-tracking branch 'upstream/master' 2016-04-02 20:59:37 +02:00
Adam Mckaig
9b56eb5ef3 Bump brew formula to v0.6.1 2016-03-29 10:33:41 -04:00
Adam Mckaig
cf8299a882 Merge pull request #32 from GeertJohan/patch-1
Update README.md
v0.6.1
2016-03-02 09:59:54 -05:00
Geert-Johan Riemer
3cf3571a73 Update README.md
The cd path is wrong (missing github.com), go build is unnecicary; go get already builds and install.
2016-03-02 14:18:22 +01:00
André Santos
10faafd763 Added the inventory option to produce an output similar to ansible host file 2016-02-24 12:24:34 +00:00
Adam Mckaig
35e77604ba Merge pull request #28 from anarcher/master
Add ENV TERRAFORM_INVENTORY_KEYNAME to specify which IP to return
2016-02-19 22:35:56 -05:00