In the meantime, Renovate does not support multiple regions. AWS has different resources in different region/location. From the code the region is supplied with environment variable e.g. AWS_REGION or AWS_DEFAULT_REGION. First of all, this is not documented. Second, there is no way to switch regions on the fly. Filters do no support regions, its an external value.
Region |
---|
us-east-2 |
us-east-1 |
us-west-1 |
us-west-2 |
af-south-1 |
ap-southeast-3 |
ap-east-1 |
ap-northeast-3 |
eu-central-1 |
eu-west-1 |
eu-west-2 |
eu-south-1 |
eu-west-1 |
eu-west-3 |
eu-north-1 |
me-south-1 |
sa-east-1 |
Folder structure. This does not reflect live example, it just combination of configs.
examples
├── dev
│ ├── eu-central-1
│ │ ├── terargrun.hcl
│ │ └── terraform.tfvars
│ └── eu-west-1
│ ├── terargrun.hcl
│ └── terraform.tfvars
├── infrastructure-manifest.json
├── infrastructure-manifest.yml
├── prod
├── values.yml
└── vars.tf
As per the documentation, there is no region
At the mean time no clear which reagion is this
examples
├── values.yml
└── vars.tf
Region supplied within the path
examples
├── dev
│ ├── eu-central-1
│ │ ├── terargrun.hcl
│ │ └── terraform.tfvars
│ └── eu-west-1
│ ├── terargrun.hcl
│ └── terraform.tfvars
Region is in the file itself
Pretty much every terraform module support region as variable, so the input tfvars expects region
Files with mappings for common values
- Infrastructure Manifest: 1
- Infrastructure Manifest: 2
- Infrastructure Manifest: 3
- Infrastructure Manifest: 4
examples
├── infrastructure-manifest.json
├── infrastructure-manifest.yml
├── applications.yml
├── amis.yml
Terraform *vars*.tf
default values and *vars*.tfvars
examples
├── vars.tf
├── dev
│ ├── eu-central-1
│ │ └── terraform.tfvars