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

Use a consistent env var for TF_WORKSPACE #101

Conversation

richardTowers
Copy link
Contributor

This is just used in the test runner, but we may as well be consistent
with the variable used in terraform and mainline tflint.

As suggested here: #99 (comment)
As per the docs here: https://www.terraform.io/docs/cli/config/environment-variables.html#tf_workspace

(This is a super minor change. No urgency at all, just cleaning stuff up.)

This is just used in the test runner, but we may as well be consistent
with the variable used in terraform and mainline tflint.

As suggested here: terraform-linters#99 (comment)
As per the docs here: https://www.terraform.io/docs/cli/config/environment-variables.html#tf_workspace
Copy link
Member

@wata727 wata727 left a comment

Choose a reason for hiding this comment

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

👍

@wata727 wata727 merged commit dace1c8 into terraform-linters:master Feb 7, 2021
@richardTowers richardTowers deleted the use-consistent-tf-workspace-variable-in-tests branch February 8, 2021 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants