Skip to content

ik-workshop/renovate-issue-14421

Repository files navigation

Renovate AWS Regions Support

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.



Contents


AWS Regions

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

Example Configurations

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

Example 1

As per the documentation, there is no region

At the mean time no clear which reagion is this

examples
├── values.yml
└── vars.tf

Example 2

Region supplied within the path

examples
├── dev
│   ├── eu-central-1
│   │   ├── terargrun.hcl
│   │   └── terraform.tfvars
│   └── eu-west-1
│       ├── terargrun.hcl
│       └── terraform.tfvars

Example 3

Region is in the file itself

Pretty much every terraform module support region as variable, so the input tfvars expects region

Example 4

Infrastructure Manifests

Files with mappings for common values

examples
├── infrastructure-manifest.json
├── infrastructure-manifest.yml
├── applications.yml
├── amis.yml

Example 5

Terraform *vars*.tf default values and *vars*.tfvars

examples
├── vars.tf
├── dev
│   ├── eu-central-1
│   │   └── terraform.tfvars

Extra Examples


Create

Create a repository using this template →

Resources