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
When using a module the user can specify providers to be used by the module using aliases and which the module has declared proxy configuration blocks for. In case a provider is specified for which no matching (by alias) proxy configuration block exists in the module, it would be helpful if Terraform would log a warning. This can happen in a number of situations:
there is a typo in the alias on the consumer side
the provider alias on the module side was changed or the provider proxy was even removed
the module inadvertently changed the proxy configuration block in a regular configuration block (e.g. by adding an empty features block)
Attempted Solutions
Proposal
As described under Use-cases I think it would make sense if the terraform command could log warnings when the configured providers don't align with the module's provider proxy configurations.
References
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 as resolved and limited conversation to collaborators
Mar 15, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Terraform Version
Use-cases
When using a module the user can specify providers to be used by the module using aliases and which the module has declared proxy configuration blocks for. In case a provider is specified for which no matching (by alias) proxy configuration block exists in the module, it would be helpful if Terraform would log a warning. This can happen in a number of situations:
Attempted Solutions
Proposal
As described under Use-cases I think it would make sense if the
terraform
command could log warnings when the configured providers don't align with the module's provider proxy configurations.References
The text was updated successfully, but these errors were encountered: