1
1
Fork 0
mirror of https://github.com/adammck/terraform-inventory synced 2024-05-11 13:46:20 +02:00
Commit Graph

157 Commits

Author SHA1 Message Date
Adam Mckaig 66c27773a6
Update brew link in README 2021-07-30 17:30:27 -04:00
Mark Sharpley fb172e7b70
OpenStack instance tag support (#150) 2021-07-30 17:15:17 -04:00
Shteryana Shopova 776a67e21e
Fix support for the Cherry servers provider (#147) 2021-07-30 17:11:20 -04:00
Sören Bohn a4d1a11de8
Support default tags for the AWS Terraform provider. (#156)
In recent versions of the AWS Terraform provider, it is possible to attach default tags to every resource. Those tags aren't stored in the `tags` field in the Terraform state but as a special field `tags_all`. Accept tags for AWS resources from both fields to also export tags defined as default tags.
2021-07-30 17:09:38 -04:00
knobik 693e714ab7
Add telmate/proxmox provider (#157) 2021-07-30 17:09:12 -04:00
Andreas Sommer 8b4b0ccdc0
Fix parsing `index` field in case of non-numeric string (as allowed in `for_each` construct), fix sorting (#153)
* Fix parsing `index` field in case of non-numeric string (as allowed in `for_each` construct), fix sorting
* Use newer Go versions in CI so functions like `errors.Unwrap` are available
2021-07-30 17:06:38 -04:00
Maximilian Ehlers bb01111c63
Add tags support for Hetzner (#151) 2020-07-20 11:24:48 -04:00
Dmitry Gadeev e313c510c2
Add Yandex.Cloud provider (#148) 2020-06-22 11:14:15 -04:00
Michael Hofer c7e468f33c
Support OTC metadata parsing (#141) 2020-02-21 12:46:37 -05:00
Anna 5618f546c1
Support string indices (from for_each) with Terraform 0.12+ 2020-02-05 16:00:44 -05:00
Olivier Bilodeau a408e89660 Don't use dots in Ansible groups (#128)
Starting with Ansible 2.8 dots (.) are no longer allowed in groups: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#transform-invalid-group-chars.
2019-10-01 15:20:06 -04:00
David Marby 883df5b363 Add go module support (#122) 2019-09-17 22:02:46 -04:00
David Marby e9fd68d38e Fix tag parsing for vSphere with Terraform 0.12 (#123) 2019-09-17 22:01:54 -04:00
Adam Mckaig aeb9dbd0bb
Delete Homebrew formula
There is a formula in the main brew repo now, so this file is not necessary any more.
https://github.com/Homebrew/homebrew-core/blob/master/Formula/terraform-inventory.rb
2019-08-07 20:51:32 -04:00
Adam Mckaig 1088fcbff4
Update Homebrew formula to v0.9 2019-08-07 20:43:36 -04:00
Andreas Sommer 94a66e3c5e Support Terraform 0.12 state format (#114) 2019-08-01 11:21:54 -04:00
Jakob 3a1f433061 Add OpenTelekomCloud provider (#112) 2019-05-21 10:01:43 -04:00
Alexandre 2417ce8c1f Added tags support for Exoscale (#109) 2019-05-12 13:39:40 -04:00
Jamie Hurst 42037e5b2e Add Linode support (#111) 2019-05-12 13:38:28 -04:00
Falk Stern dd5c915c19 Add Nutanix provider (#105) 2019-02-14 10:53:36 -05:00
Adam Mckaig ce9a7cad98
Update Homebrew formula to v0.8 2019-02-03 17:48:05 -05:00
Nicolas Singh Oteiza 260af322eb add AWS spot instances (#97) 2018-12-05 12:52:45 -05:00
Daniel McDermott 669d8a779e Fix remote state link (#100) 2018-12-05 12:50:57 -05:00
Atadilo aecdc48546 Add tags support to VSphere provider (#88) 2018-09-20 10:37:44 -04:00
Christian Groschupp 2365c9b801 Add TF_HOSTNAME_KEY_NAME to specify which hostname to return (#94)
Overwrite with the environment variable TF_HOSTNAME_KEY_NAME which attribute is to be used for the ansible inventory name. By default, the IP address is used. The Ansible variable "ansible_host" is used to connect to the host.
2018-09-20 10:22:53 -04:00
Christian Groschupp 842b8f7278 Add support for ProfitBricks (#93) 2018-06-18 12:51:21 -04:00
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