Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Jul 3, 2024

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

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
  • Bugfix Pull Request
COMPONENT NAME

inventory/terraform_state

…d of `terraform show` to read state file (#153)

* inventory/terrform_state - read raw state file to parse resources
(use `terraform state pull` instead of `terraform show` command)

(cherry picked from commit 8c78d5e)
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (stable-2@f13b96e). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff             @@
##             stable-2     #157   +/-   ##
===========================================
  Coverage            ?   80.09%           
===========================================
  Files               ?       23           
  Lines               ?     1522           
  Branches            ?      274           
===========================================
  Hits                ?     1219           
  Misses              ?      262           
  Partials            ?       41           
Flag Coverage Δ
units 80.09% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Copy link

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

✔️ ansible-galaxy-importer SUCCESS in 4m 00s
✔️ build-ansible-collection SUCCESS in 6m 51s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 1a2152c into stable-2 Jul 4, 2024
44 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant