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

Add HCL variable support from varfiles #14

Merged
merged 1 commit into from
Mar 28, 2020
Merged

Conversation

rgreinho
Copy link
Owner

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Description

Previously, all variables extracted from a file were considered strings.
This patch now detects lists as HCL variables and create them
accordingly.

Drive-by:

  • Fixes the getTag() function in the Magefile.

Checklist:

  • [] I have updated the documentation accordingly
  • [] I have updated the Changelog (if applicable)

Fixes: #13

@rgreinho rgreinho added the kind/bug Something isn't working label Mar 27, 2020
@rgreinho rgreinho self-assigned this Mar 27, 2020
@rgreinho rgreinho force-pushed the support-hcl-in-varfile branch 2 times, most recently from 5d83f96 to 7a387f2 Compare March 27, 2020 16:15
Previously, all variables extracted from a file were considered strings.
This patch now detects lists as HCL variables and create them
accordingly.

Drive-by:
* Fixes the `getTag()` function in the Magefile.

Fixes #13
@rgreinho rgreinho merged commit 0159d39 into master Mar 28, 2020
@rgreinho rgreinho deleted the support-hcl-in-varfile branch March 28, 2020 00:19
@jeremygaither
Copy link
Contributor

Thanks @rgreinho ! I will build from master and test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

var-file does not correctly add HCL variables
2 participants