Fix for Warning: Reference to undefined provider #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
When specifying a provider configuration to wrappers, terraform emits this warnings.
Motivation and Context
This change reduces the reporting of warnings in terraform. Terraform is extremely fragile and warnings are often a symptom of breakage-to-come, so reducing warnings to an absolutely minimum is a useful goal state.
Breaking Changes
No known.
How Has This Been Tested?
[n/a ] I have updated at least one of the
examples/*
to demonstrate and validate my change(s)n/a because this is a module-call-site side warning, exhaustively testing all module-call-site's warning would require a stack of infinite size, but we could insist on having a stack of at least two module depth for every module to ensure the "middle depth" example modules produce no warnings.
examples/*
projectsPlease describe how you tested your changes
I have installed this commit to check the terraform warning is no longer emitted