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

27 Commits

Author SHA1 Message Date
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
Michael Bøcker-Larsen
017b2858b0 Added support for Digital Ocean droplet tags (#56) 2017-01-19 12:50:57 -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
Do Nhat Minh
cc7a2edc5f added SoftLayer support (#52) 2016-11-15 20:14:54 -05: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
Lazar Travica
2f590ebe29 Added the test for terraform outputs. 2016-04-02 21:12:48 +02: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
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
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
7276f41f50 Add integration test for host command 2015-12-09 23:34:17 -05:00
Adam Mckaig
b43d3f55c2 Add resource with counter test 2015-12-09 23:20:31 -05:00
Adam Mckaig
6d362d3e2a Add integration test 2015-12-09 23:17:39 -05:00
Adam Mckaig
f518634ed6 Parse counters out of resource names 2015-12-09 22:52:47 -05:00
Adam Mckaig
fe21b45ee2 Add OpenStack tests 2015-11-05 09:36:07 -05:00
Matt Peperell
4299fcebb2 Add VMware support 2015-08-11 16:24:11 +01:00
Lars Tobias Skjong-Børsting
c5e5e40cd7 Add CloudStack support 2015-06-23 19:39:56 +02:00
Adam Mckaig
b5926ec984 Remove crap test
Probably don't need to test the damn JSON parser.
2015-06-05 00:07:57 -04:00
Adam Mckaig
55d5cffc6a Prefer public IP if available
AWS instances in a private subnet are generally accessed via a VPN, but
many EC2 classic instances still have a public IP. We should use that
where possible, and fall back to a private IP if not.
2015-06-05 00:03:59 -04:00
Adam Mckaig
bde4ea23d1 Add Digital Ocean support 2015-06-04 22:43:56 -04:00
Mark Bainter
ff15699be0 Add support for environment variables
This change is really overkill for just defining the state path.
However, this opens the door for additional configuration options
such as choosing the keys to match on for the "host" argument.
2015-05-27 17:22:37 -05:00
Adam Mckaig
d536bd0748 Remove aws_instance. prefix from host names 2015-02-09 16:37:43 -05:00
Adam Mckaig
2d1c7fdfd9 Refactor to remove Terraform dependency
Closes #1
2015-02-09 16:37:30 -05:00