Skip to content

4.2

Compare
Choose a tag to compare
@mtrbls mtrbls released this 02 May 11:23
eeac8b2

Providers are now defined outside of the module, resolving issue with resource deletion.
This version deprecates the use of the aws_region, in profit of the providers input.

providers expect an existing provider. The example contains two providers, which can then be passed down to the module, as follow:

provider "aws" {
  alias  = "london"
  region = "eu-west-2"
}

provider "aws" {
  alias  = "ireland"
  region = "eu-west-1"
}
module "example_team_rds" {
  ...
  providers = {
    # Can be either "aws.london" or "aws.london"
    aws = "aws.london"
  }
}```