Skip to content

3.2

Compare
Choose a tag to compare
@mtrbls mtrbls released this 29 Apr 11:14
f897b8d

This removes the need for the aws_region variable.

Providers now need to be defined outside of the module, and specified at module invocation.

The example now comes with two extra provider, one dedicated to eu-west-1 (ireland) and another to eu-west-2 (london).
The right provider to use has to be selected when the module is called, by using the following syntax :

module "example_team_s3_bucket" {
  ...
  providers = {
    # Can be either "aws.london" or "aws.ireland"
    aws = "aws.ireland"
  }