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

User input variables ignored #1282

Closed
mgood opened this issue Mar 24, 2015 · 3 comments · Fixed by #1307
Closed

User input variables ignored #1282

mgood opened this issue Mar 24, 2015 · 3 comments · Fixed by #1307
Assignees

Comments

@mgood
Copy link
Contributor

mgood commented Mar 24, 2015

Variables from the user input do not appear to be applied to the config prior to validation, so a validation error is still reported:

$ terraform apply
provider.aws.region
  The region where AWS operations will take place. Examples
  are us-east-1, us-west-2, etc.

  Default: us-east-1
  Enter a value: ap-northeast-1

There are warnings and/or errors related to your configuration. Please
fix these before continuing.

Errors:

  * provider.aws: "region": required field is not set

A similar issue #736 was previously reported and fixed where the user was not even asked for input. I can verify that the intended behavior was working in version 0.3.7, but now with the current master I get the error above.

This might be related to other config issues like #1186 and #1142 where configuration within a module is not being recognized.

@mitchellh
Copy link
Contributor

Confirmed. Looking at it now.

@mgood
Copy link
Contributor Author

mgood commented Mar 30, 2015

Thanks, that worked.

@ghost
Copy link

ghost commented May 3, 2020

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 ghost locked and limited conversation to collaborators May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants