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 runtime pterraform vars through IMAGETEST_TF_VAR_ #174

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

joshrwolf
Copy link
Collaborator

provide another option for setting variables to the pterraform harness through the use of an IMAGETEST_TF_VAR_ option, which operates identically to TF_VAR_, except is only parsed by the pterraform harness.

This ensures the runtime can configure pterraform directly without relying on conflicting runtime variables for the "outer" terraform.

pterraform will inherit all other environment variables from the host, but will ignore any TF_VAR_s and exclusively use IMAGETEST_TF_VAR_s

@joshrwolf joshrwolf merged commit 947be95 into chainguard-dev:main Aug 26, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants