ansible-collections / cloud.terraform

The collection automates the management and provisioning of infrastructure as code (IaC) using the Terraform CLI tool within Ansible playbooks and Execution Environment runtimes.
GNU General Public License v3.0
100 stars 36 forks source link

[PR #153/8c78d5ef backport][stable-3] inventory/terraform_state - Use `terraform state pull` command instead of `terraform show` to read state file #158

Closed patchback[bot] closed 4 months ago

patchback[bot] commented 4 months ago

This is a backport of PR #153 as merged into main (8c78d5ef879de1144a7cf6e001d673ce44dbdbc7).

SUMMARY

Closes #151

The plugin inventory/terraform_state has been updated to read the raw state file instead using terraform state pull command instead of reading the output from terraform show (which requires the provider version used) command to parse resources

ISSUE TYPE
COMPONENT NAME

inventory/terraform_state

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/2de4e13c308f4da397c85bcb7afa0332

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 4m 10s :heavy_check_mark: build-ansible-collection SUCCESS in 6m 46s

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded (gate pipeline). https://ansible.softwarefactory-project.io/zuul/buildset/2b6018a6e5b041b58c09c2598b5470bf

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 4m 32s :heavy_check_mark: build-ansible-collection SUCCESS in 6m 40s