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

Discover tfstate from hcl #1555

Merged
merged 2 commits into from
Jul 6, 2022
Merged

Discover tfstate from hcl #1555

merged 2 commits into from
Jul 6, 2022

Conversation

sundowndev-snyk
Copy link
Contributor

@sundowndev-snyk sundowndev-snyk commented Jul 4, 2022

Q A
πŸ› Bug fix? no
πŸš€ New feature? yes
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues CFG-1972
❓ Documentation no

Description

This PR introduces support for Terraform backend discovering when user doesn't specify a IAC source. Most of the code in Terraform related to backends can't be used in third party code so I couldn't use it.

@sundowndev-snyk sundowndev-snyk added the kind/enhancement New feature or improvement label Jul 4, 2022
Add test suite for the retrieveBackendsFromHCL function
@sundowndev-snyk sundowndev-snyk marked this pull request as ready for review July 4, 2022 13:17
@sundowndev-snyk sundowndev-snyk requested a review from a team as a code owner July 4, 2022 13:17
@sundowndev-snyk sundowndev-snyk requested review from moadibfr and removed request for a team July 4, 2022 13:17
Copy link
Contributor

@moadibfr moadibfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thought this would be more painful but your implem seems pretty straightforward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants