You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The work to allow setting Terraform variables via environment variables (#62 and #1621) is great, but it requires that variables have default values - which is not ideal for variables such as AWS credentials. I would expect variables passed via environment variables to not require defaults the same as if they were set in a tfvars file.
$ TF_VAR_aws_access_key=asdf TF_VAR_aws_secret_key=1234 terraform plan
There are warnings and/or errors related to your configuration. Please
fix these before continuing.
Errors:
* Required variable not set: aws_access_key
* Required variable not set: aws_secret_key
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
May 2, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The work to allow setting Terraform variables via environment variables (#62 and #1621) is great, but it requires that variables have default values - which is not ideal for variables such as AWS credentials. I would expect variables passed via environment variables to not require defaults the same as if they were set in a tfvars file.
The text was updated successfully, but these errors were encountered: