1
1
mirror of https://github.com/adammck/terraform-inventory synced 2024-11-22 20:01:58 +01:00
Commit Graph

105 Commits

Author SHA1 Message Date
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
Lazar Travica
99ff88b3ce Not outputting the global variables if no outputs are set. 2016-02-18 11:46:40 +01:00
anarcher
4f18a4b350 Change TERRAFORM_INVENTORY_KEYNAME to TF_KEY_NAME 2016-02-18 00:37:51 +09:00
anarcher
36d30f6d40 Add ENV TERRAFORM_INVENTORY_KEYNAME to specify which IP to return 2016-02-17 16:45:45 +09:00
Lazar Travica
6ead28eee6 Showing Terraform outputs as "global" variables in the Ansible dynamic inventory json. 2016-02-16 12:12:49 +01:00
Adam Mckaig
229202334c Merge pull request #26 from botto/master
GCE nat_ip has changed to assigned_nat_ip
2016-01-29 09:33:36 -05:00
Martin Eskdale Moen
f4a47bb69c Added some backwards compatibility
For old state files
2016-01-29 10:25:08 +00:00
Martin Eskdale Moen
10157cde2c GCE nat_ip has changed to assigned_nat_ip
This should resolve #25
2016-01-29 00:15:50 +00:00
Adam Mckaig
08071b0d90 Update brew formula to v0.6 2016-01-07 17:06:39 -05:00
Adam Mckaig
fccd2f5c14 go fmt v0.6 2016-01-07 17:02:35 -05:00
Adam Mckaig
9018e1b90e Fix indentation 2016-01-07 17:02:26 -05:00
Adam Mckaig
ac1a308ed0 Add tags example to README 2016-01-07 17:01:24 -05:00
Adam Mckaig
4a6a5f651c Add Transloadit ack 😍 2016-01-05 10:25:36 -05:00
Adam Mckaig
597d817721 Merge pull request #24 from ldejager/feature/gce_support
Added GCE support
2015-12-23 17:55:19 -05:00
Leon de Jager
6e86dabeaf Updated README.md to reflect GCE support in terraform-inventory 2015-12-23 22:50:47 +00:00
Leon de Jager
c4d37751eb Added GCE to keyNames and updated the README.md section on support accordingly 2015-12-23 22:37:34 +00:00
Adam Mckaig
1a3b5c180c Prefix resource type groups with 'type_' 2015-12-15 00:02:35 -05:00
Adam Mckaig
b8a9261d05 Add group by AWS tags 2015-12-15 00:01:17 -05:00
Adam Mckaig
420247c637 Update fixtures again 2015-12-15 00:01:09 -05:00
Adam Mckaig
0a61a938ad Sort resource names for consistent output 2015-12-14 23:30:23 -05:00
Adam Mckaig
885469243c Update examples
I unfortunately had to remove the CloudStack example, because I don't
have access to one of those. Moved the old example to an integration
test, at least.
2015-12-14 22:58:25 -05:00
Adam Mckaig
c12b4cc0e5 Update README 2015-12-14 22:47:35 -05:00
Adam Mckaig
50a158f87c Add groups for resource type 2015-12-14 22:43:47 -05:00
Adam Mckaig
3e00bfbe37 Split high/low level resource stuff 2015-12-14 22:24:41 -05:00
Adam Mckaig
08ca170435 Remove debugging printfs 2015-12-14 21:15:22 -05:00
Adam Mckaig
6ccf619ff7 Merge pull request #22 from adammck/counted_instances
Add support for grouped count=n resources
2015-12-14 21:10:14 -05:00
Adam Mckaig
141fdf78f7 Accept floating_ip attribute for OpenStack 2015-12-14 20:45:17 -05:00