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

terraform: provider input should be scoped by path #2464

Merged
merged 1 commit into from
Jun 24, 2015

Conversation

mitchellh
Copy link
Contributor

Fixes #2024

The provider input before wasn't scoped by path, which caused
non-descendant parts of the graph to grab the configuration of another
sub-tree. The result is that you'd often get copied provider
configurations across the module barriers.

This isn't very straightforward, but it was easy to reproduce with the example config in #2024 (changed to AWS for ease of config). I couldn't get a context test for this because of the weird parallelism, but added a test on the EvalContext which is important for this behavior.

The provider input before wasn't scoped by path, which caused
non-descendant parts of the graph to grab the configuration of another
sub-tree. The result is that you'd often get copied provider
configurations across the module barriers.

See GH-2024
@phinze
Copy link
Contributor

phinze commented Jun 24, 2015

LGTM, after having it explained to me synchronously. 😁

@mitchellh
Copy link
Contributor Author

Yeah, good to merge this before I do the other provider bugs... since they might be related or already fixed by thyis.

mitchellh added a commit that referenced this pull request Jun 24, 2015
terraform: provider input should be scoped by path
@mitchellh mitchellh merged commit 1a844c4 into master Jun 24, 2015
@mitchellh mitchellh deleted the b-provider-var-conflict branch June 24, 2015 16:53
@ghost
Copy link

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

Successfully merging this pull request may close these issues.

provider Isolation failure with google provider inside module
2 participants