Topics
This major release drops support for ansible-core < 2.15
.
- Drop support for ansible-core < 2.15 (#138).
The cloud.terraform 2.1.0 release includes a new module to plan_stash
and a new inventory plugin terraform_state
.
- terraform_state - Builds an inventory from resources created by cloud providers.
- plan_stash - Handle the base64 encoding or decoding of a terraform plan file
- Remove support for ansible-core < 2.14 (#102).
- terraform_provider - Allow
project_path
in terraform_provider inventory plugin to accept a list of paths (#55). - terraform_provider - Added
search_child_modules
option (#55).
- Removed integration tests workaround in terrform_provider. (#84)
- Set default of
state_file
in terraform_provider inventory plugin to a blank string (#55). - terraform - add support for
workspace
when runningterraform output
(#85). - terraform - cleanup temporary file create during module execution. (#2)
- terraform_output - add support for
workspace
when runningterraform output
(#85). - tf_output - add support for
workspace
when runningterraform output
(#85).
- module_utils - Accept Terraform executables present on PATH passed in as
binary_path
without specifying their absolute path. (#49) - module_utils - Allow
nested_type
attribute in terraform schema. (#93) - module_utils - Fix AWS SQS queue creation. The
values
attribute in terraform output is optional. SQS is one of (rare) cases wherevalues
is absent. (#86) - move test requirements out of the requirements.txt file (#67).
- terraform - fix issue with
plan_file
option specified withcheck_mode=true
andstate
set to one ofpresent
andabsent
, the module is enable now to generate a Terraform file to the specified location (#87). - terraform - fix spaces between characters in command field in result (#76).
- Added the git_plan role to apply a Terraform plan stored in a Git repository.
- Added the inventory_from_outputs role to construct an in-memory inventory from Terraform outputs.
- Added the terraform_output module which parses values from terraform outputs.
- Check mode now works as intended and produces correct "changed" output and results.
- Inventory plugin cloud.terraform.terraform_provider added. (#22)
- Support diff mode in cloud.terraform.terraform both in check mode and in non-check mode. (#11)
- Terraform output lookup module added (#12).
- Removed "required_one_of" condition from terraform_output module. (#31).
- Slight code reorganization to always run terraform plan, and then optionally apply the generated plan.
- Terraform output lookup module - documentation for state_file option updated. (#29).
- git_plan and inventory_from_outputs role's argument_spec.yml updated to be able to generate documentation (#28)
- meta/runtime.yml - Drop space in requires_ansible that was preventing the upload on Galaxy (#8).
- state=planned is deprecated. Use check_mode=true at the module level instead.
- Integration tests to test support of AWS, Azure and GCP.
- Major refactoring of the cloud.terraform collection, restructuring and compartmentalizing code.
- Removed "mutually exclusive" condition for state_file and project_path in inventory_from_outputs role, since terraform_output module doesn't require this. (#39)
- Several integration tests were added to test end-to-end behaviour.
- Terraform module - fix now allows the possibility that the key "value" is not always present in the terraform plan thus avoiding KeyError. (#45)
- Terraform module - fix now expands the providers schema with block_types section so when checking if (block) attribute is sensitive in providers schema KeyError is now avoided. (#46)
- Terraform_output - fix now sets "outputs" variable to None in case of TerraformWarning to avoid undefined variable error. (#31)
- Type hints added to the cloud.terraform collection for easier future maintenance and reliability.
- Updated host and group name in cloud.terraform.terraform_provider inventory plugin. (#34)
- terraform_output module - when providing name and state_file parameters, the value of the requested output wasn't returned. This issue was solved by changing the order of the name and state parameters in the invoked Terraform command (#19).
- terraform_provider - Builds an inventory from Terraform state file.