Skip to content

Releases: nbering/terraform-inventory

v2.2.0

27 May 00:47
v2.2.0
1e8dfee
Compare
Choose a tag to compare

Added

  • Respect variable_priority, added in providers releases 0.0.6/1.0.2

Changed

  • List values in output are now sorted for consistency, and to make regression testing easier
  • With state files where variable_priority is not set, the default values of 50 (for ansible_host and ansible_group) and 60 (for ansible_host_var and ansible_group_var) will be inferred, changing variable merging behaviour

v2.1.0

20 May 12:41
v2.1.0
34a8592
Compare
Choose a tag to compare

Added

  • Support for ansible_host_var resource type
  • Support for ansible_group_var resource type

Fixed

  • Corrected a minor issue where ansible_host or ansible_host_var resources with the same inventory_hostname would result in multiple copies of the hostname in any groups they shared in common (including the "all" group)

v2.0.0

05 May 13:35
v2.0.0
a3fa837
Compare
Choose a tag to compare

Added

  • Support for Terraform 0.12's new state file structure
  • Simple regression testing with Bash scripts

Changed

  • Removed version-specific python shebang, as terraform.py seems to work fine with Python 2.7 and 3.x

Removed

  • terraform state pull no longer uses -input=false as this argument is not recognized by Terraform 0.12

v1.1.0

09 Jan 05:16
v1.1.0
471c655
Compare
Choose a tag to compare

Added

  • Support for Terraform workspaces via ANSIBLE_TF_WS_NAME environment variable. Thanks [@dnitsch]!

v1.0.1

26 Feb 01:15
v1.0.1
f272345
Compare
Choose a tag to compare

Added

v1.0.0

07 Jan 22:57
v1.0.0
1733cb0
Compare
Choose a tag to compare

Added

  • Added ANSIBLE_TF_DIR environment variable to set Terraform configuration directory.

Changed

  • Ported the script to Python to be more compatible with the Ansible ecosystem.
  • Changed TERRAFORM_PATH environment variable to ANSIBLE_TF_PATH.

Deprecated

  • The earlier NodeJS implementation will not be supported going forward.