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

Provide a TF_ENV_environment value by default #44

Closed
kmanning opened this issue Sep 3, 2019 · 1 comment
Closed

Provide a TF_ENV_environment value by default #44

kmanning opened this issue Sep 3, 2019 · 1 comment

Comments

@kmanning
Copy link
Collaborator

kmanning commented Sep 3, 2019

  • The TerraformEnvironmentStage knows what the current environment is
  • There's a 99% chance that the terraform template will need to know what environment it's being applied to
  • Be helpful, and by default, set an environment variable called TF_ENV_environment with the current environment variable.
  • Be able to disable this behavior, but enable it by default.
@kmanning
Copy link
Collaborator Author

kmanning commented Sep 3, 2019

Consider writing this as a TerraformEnvironmentPlugin that's enabled by default (but can be disabled)

@kmanning kmanning closed this as completed Sep 3, 2019
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

No branches or pull requests

1 participant