From dfd84243920f3743aba884e22df1c9c89e573f76 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 12 Feb 2021 14:49:00 -0500 Subject: [PATCH] link configuration aliases between pages --- .../docs/language/meta-arguments/module-providers.html.md | 8 ++++---- website/docs/language/modules/develop/providers.html.md | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docs/language/meta-arguments/module-providers.html.md b/website/docs/language/meta-arguments/module-providers.html.md index fa9f1d276..993b9f23f 100644 --- a/website/docs/language/meta-arguments/module-providers.html.md +++ b/website/docs/language/meta-arguments/module-providers.html.md @@ -36,10 +36,10 @@ module "example" { ## Default Behavior: Inherit Default Providers -If the child module does not declare any configuration aliases, the `providers` -argument is optional. If you omit it, a child module inherits all of the -_default_ provider configurations from its parent module. (Default provider -configurations are ones that don't use the `alias` argument.) +If the child module does not declare any [configuration aliases](/docs/language/modules/develop/providers.html#provider-aliases-within-modules), +the `providers` argument is optional. If you omit it, a child module inherits +all of the _default_ provider configurations from its parent module. (Default +provider configurations are ones that don't use the `alias` argument.) If you specify a `providers` argument, it cancels this default behavior, and the child module will _only_ have access to the provider configurations you specify. diff --git a/website/docs/language/modules/develop/providers.html.md b/website/docs/language/modules/develop/providers.html.md index be08a1f11..346ccd508 100644 --- a/website/docs/language/modules/develop/providers.html.md +++ b/website/docs/language/modules/develop/providers.html.md @@ -73,6 +73,8 @@ settings come from provider _configurations_, and a particular overall Terraform configuration can potentially have [several different configurations for the same provider](/docs/language/providers/configuration.html#alias-multiple-provider-configurations). +## Provider Aliases Within Modules + To declare multiple configuration names for a provider within a module, add the `configuration_aliases` argument: