When using multiple configurations of the same Terraform provider, what meta-argument must be included in any non-default provider configurations?
When using multiple configurations of the same Terraform provider, what meta-argument must be included in any non-default provider configurations?
When using multiple configurations of the same Terraform provider, the meta-argument 'alias' must be included in any non-default provider configurations. This allows Terraform to distinguish between the multiple provider instances and ensure that the correct configuration is used for the appropriate resources.
https://developer.hashicorp.com/terraform/language/providers/configuration#alias-multiple-provider-configurations
To create multiple configurations for a given provider, include multiple provider blocks with the same provider name. For each additional non-default configuration, use the alias meta-argument to provide an extra name segment.