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

provider: add ignore_env_vars configuration #281

Merged
merged 3 commits into from
Aug 31, 2022
Merged

provider: add ignore_env_vars configuration #281

merged 3 commits into from
Aug 31, 2022

Conversation

lgfa29
Copy link
Contributor

@lgfa29 lgfa29 commented Aug 29, 2022

Add provider configuration option to allow users to ignore some
environment variables that would be otherwise loaded by default.

Read the TFC_RUN_ID environment variable to automatically ignore
NOMAD_NAMESPACE and NOMAD_REGION.

This re-implements #280 in a more re-usable way.

Closes #274

Add provider configuration option to allow users to ignore some
environment variables that would be otherwise loaded by default.

Read the `TFC_RUN_ID` environment variable to automatically ignore
`NOMAD_NAMESPACE` and `NOMAD_REGION`.
@lgfa29 lgfa29 requested a review from jrasell August 29, 2022 21:33
jrasell
jrasell previously approved these changes Aug 30, 2022
@lgfa29
Copy link
Contributor Author

lgfa29 commented Aug 30, 2022

wut? I don't even know what this means...
image

@lgfa29 lgfa29 requested a review from jrasell August 30, 2022 20:45
@lgfa29 lgfa29 merged commit 0b57d19 into main Aug 31, 2022
@lgfa29 lgfa29 deleted the fix-tfc-env-var branch August 31, 2022 20:21
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.

TFC overrides the default region("global") by "tf-cloud-iso-prod-use1"
2 participants