website: Provider requirements are not inherited
Add a note to the provider configuration section explaining that only config can be inherited by child modules, not source or version requirements.
This commit is contained in:
parent
7a34d4d709
commit
5f43934d5f
|
@ -372,6 +372,8 @@ resource "aws_s3_bucket" "example" {
|
|||
We recommend using this approach when a single configuration for each provider
|
||||
is sufficient for an entire configuration.
|
||||
|
||||
~> **Note:** Only provider configurations are inherited by child modules, not provider source or version requirements. Each module must [declare its own provider requirements](provider-requirements.html). This is especially important for non-HashiCorp providers.
|
||||
|
||||
In more complex situations there may be
|
||||
[multiple provider configurations](/docs/configuration/providers.html#alias-multiple-provider-configurations),
|
||||
or a child module may need to use different provider settings than
|
||||
|
|
Loading…
Reference in New Issue