From 662cdc0e0d59995866c8fd0ba911cd0bbb4a7dd8 Mon Sep 17 00:00:00 2001 From: Baptiste Arnou Date: Fri, 12 Sep 2025 12:18:23 +0200 Subject: [PATCH] chore!: update AWS provider version to 6.12.0 across all modules and examples - Updated AWS provider version from >= 5.89 to >= 6.12.0 in README and versions.tf files for all examples and modules. - Adjusted VPC module version from ~> 5.0 to ~> 6.0 in relevant examples. - Updated KMS module version from ~> 2.0 to ~> 4.0 in examples where applicable. --- README.md | 4 ++-- examples/autoscaling/README.md | 6 +++--- examples/autoscaling/main.tf | 2 +- examples/autoscaling/versions.tf | 2 +- examples/dsql/README.md | 2 +- examples/dsql/versions.tf | 2 +- examples/global-cluster/README.md | 10 +++++----- examples/global-cluster/main.tf | 4 ++-- examples/global-cluster/versions.tf | 2 +- examples/limitless/README.md | 8 ++++---- examples/limitless/main.tf | 4 ++-- examples/limitless/versions.tf | 2 +- examples/multi-az/README.md | 6 +++--- examples/multi-az/main.tf | 2 +- examples/multi-az/versions.tf | 2 +- examples/mysql/README.md | 10 +++++----- examples/mysql/main.tf | 6 +++--- examples/mysql/versions.tf | 2 +- examples/postgresql/README.md | 8 ++++---- examples/postgresql/main.tf | 4 ++-- examples/postgresql/versions.tf | 2 +- examples/s3-import/README.md | 8 ++++---- examples/s3-import/main.tf | 4 ++-- examples/s3-import/versions.tf | 2 +- examples/serverless/README.md | 6 +++--- examples/serverless/main.tf | 2 +- examples/serverless/versions.tf | 2 +- modules/dsql/README.md | 4 ++-- modules/dsql/versions.tf | 2 +- versions.tf | 2 +- 30 files changed, 61 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index b7b7a17..bb1537f 100644 --- a/README.md +++ b/README.md @@ -255,13 +255,13 @@ Terraform documentation is generated automatically using [pre-commit hooks](http | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules diff --git a/examples/autoscaling/README.md b/examples/autoscaling/README.md index c40b4e5..45afa34 100644 --- a/examples/autoscaling/README.md +++ b/examples/autoscaling/README.md @@ -20,13 +20,13 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules @@ -34,7 +34,7 @@ Note that this example may create resources which cost money. Run `terraform des |------|--------|---------| | [aurora](#module\_aurora) | ../../ | n/a | | [disabled\_aurora](#module\_disabled\_aurora) | ../../ | n/a | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/autoscaling/main.tf b/examples/autoscaling/main.tf index d2252be..6e1eebf 100644 --- a/examples/autoscaling/main.tf +++ b/examples/autoscaling/main.tf @@ -71,7 +71,7 @@ module "disabled_aurora" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr diff --git a/examples/autoscaling/versions.tf b/examples/autoscaling/versions.tf index c00acf7..11ff3f1 100644 --- a/examples/autoscaling/versions.tf +++ b/examples/autoscaling/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } } } diff --git a/examples/dsql/README.md b/examples/dsql/README.md index e381540..0df3190 100644 --- a/examples/dsql/README.md +++ b/examples/dsql/README.md @@ -20,7 +20,7 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.100 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers diff --git a/examples/dsql/versions.tf b/examples/dsql/versions.tf index 7aad8ab..11ff3f1 100644 --- a/examples/dsql/versions.tf +++ b/examples/dsql/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.100" + version = ">= 6.12.0" } } } diff --git a/examples/global-cluster/README.md b/examples/global-cluster/README.md index af76781..7a843f6 100644 --- a/examples/global-cluster/README.md +++ b/examples/global-cluster/README.md @@ -20,15 +20,15 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | | [random](#requirement\_random) | >= 2.2 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | -| [aws.secondary](#provider\_aws.secondary) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | +| [aws.secondary](#provider\_aws.secondary) | >= 6.12.0 | | [random](#provider\_random) | >= 2.2 | ## Modules @@ -37,8 +37,8 @@ Note that this example may create resources which cost money. Run `terraform des |------|--------|---------| | [aurora\_primary](#module\_aurora\_primary) | ../../ | n/a | | [aurora\_secondary](#module\_aurora\_secondary) | ../../ | n/a | -| [primary\_vpc](#module\_primary\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | -| [secondary\_vpc](#module\_secondary\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [primary\_vpc](#module\_primary\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | +| [secondary\_vpc](#module\_secondary\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/global-cluster/main.tf b/examples/global-cluster/main.tf index 3ebc5ca..e3ebb32 100644 --- a/examples/global-cluster/main.tf +++ b/examples/global-cluster/main.tf @@ -120,7 +120,7 @@ resource "random_password" "master" { module "primary_vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.primary_vpc_cidr @@ -136,7 +136,7 @@ module "primary_vpc" { module "secondary_vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" providers = { aws = aws.secondary } diff --git a/examples/global-cluster/versions.tf b/examples/global-cluster/versions.tf index 157cc31..1e8c413 100644 --- a/examples/global-cluster/versions.tf +++ b/examples/global-cluster/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } random = { diff --git a/examples/limitless/README.md b/examples/limitless/README.md index efbf8c2..8885c94 100644 --- a/examples/limitless/README.md +++ b/examples/limitless/README.md @@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | | [random](#requirement\_random) | >= 3.5 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | | [random](#provider\_random) | >= 3.5 | ## Modules @@ -35,8 +35,8 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Source | Version | |------|--------|---------| | [aurora](#module\_aurora) | ../../ | n/a | -| [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 2.0 | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 4.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/limitless/main.tf b/examples/limitless/main.tf index 5524cbd..316703a 100644 --- a/examples/limitless/main.tf +++ b/examples/limitless/main.tf @@ -99,7 +99,7 @@ resource "random_password" "master" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr @@ -114,7 +114,7 @@ module "vpc" { module "kms" { source = "terraform-aws-modules/kms/aws" - version = "~> 2.0" + version = "~> 4.0" deletion_window_in_days = 7 description = "KMS key for ${local.name} cluster activity stream." diff --git a/examples/limitless/versions.tf b/examples/limitless/versions.tf index 2832cf7..9bb2a42 100644 --- a/examples/limitless/versions.tf +++ b/examples/limitless/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } random = { source = "hashicorp/random" diff --git a/examples/multi-az/README.md b/examples/multi-az/README.md index d97a1a8..5fd9aa8 100644 --- a/examples/multi-az/README.md +++ b/examples/multi-az/README.md @@ -20,20 +20,20 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [aurora](#module\_aurora) | ../../ | n/a | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/multi-az/main.tf b/examples/multi-az/main.tf index 25dd353..ad78723 100644 --- a/examples/multi-az/main.tf +++ b/examples/multi-az/main.tf @@ -61,7 +61,7 @@ module "aurora" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr diff --git a/examples/multi-az/versions.tf b/examples/multi-az/versions.tf index c00acf7..11ff3f1 100644 --- a/examples/multi-az/versions.tf +++ b/examples/multi-az/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } } } diff --git a/examples/mysql/README.md b/examples/mysql/README.md index ec4fcab..fc9aa58 100644 --- a/examples/mysql/README.md +++ b/examples/mysql/README.md @@ -20,22 +20,22 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [aurora](#module\_aurora) | ../../ | n/a | -| [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 2.0 | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | -| [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | ~> 5.0 | +| [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 4.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | +| [vpc\_endpoints](#module\_vpc\_endpoints) | terraform-aws-modules/vpc/aws//modules/vpc-endpoints | ~> 6.0 | ## Resources diff --git a/examples/mysql/main.tf b/examples/mysql/main.tf index d513874..2cfe8e7 100644 --- a/examples/mysql/main.tf +++ b/examples/mysql/main.tf @@ -166,7 +166,7 @@ module "aurora" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr @@ -181,7 +181,7 @@ module "vpc" { module "kms" { source = "terraform-aws-modules/kms/aws" - version = "~> 2.0" + version = "~> 4.0" deletion_window_in_days = 7 description = "KMS key for ${local.name} cluster activity stream." @@ -197,7 +197,7 @@ module "kms" { # https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.Prereqs.html#DBActivityStreams.Prereqs.KMS module "vpc_endpoints" { source = "terraform-aws-modules/vpc/aws//modules/vpc-endpoints" - version = "~> 5.0" + version = "~> 6.0" vpc_id = module.vpc.vpc_id diff --git a/examples/mysql/versions.tf b/examples/mysql/versions.tf index c00acf7..11ff3f1 100644 --- a/examples/mysql/versions.tf +++ b/examples/mysql/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } } } diff --git a/examples/postgresql/README.md b/examples/postgresql/README.md index 223fd64..a5cff93 100644 --- a/examples/postgresql/README.md +++ b/examples/postgresql/README.md @@ -20,21 +20,21 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [aurora](#module\_aurora) | ../../ | n/a | -| [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 2.0 | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [kms](#module\_kms) | terraform-aws-modules/kms/aws | ~> 4.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/postgresql/main.tf b/examples/postgresql/main.tf index f521fe2..07d23a8 100644 --- a/examples/postgresql/main.tf +++ b/examples/postgresql/main.tf @@ -130,7 +130,7 @@ module "aurora" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr @@ -145,7 +145,7 @@ module "vpc" { module "kms" { source = "terraform-aws-modules/kms/aws" - version = "~> 2.0" + version = "~> 4.0" deletion_window_in_days = 7 description = "KMS key for ${local.name} cluster activity stream." diff --git a/examples/postgresql/versions.tf b/examples/postgresql/versions.tf index c00acf7..11ff3f1 100644 --- a/examples/postgresql/versions.tf +++ b/examples/postgresql/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } } } diff --git a/examples/s3-import/README.md b/examples/s3-import/README.md index e128f91..013484e 100644 --- a/examples/s3-import/README.md +++ b/examples/s3-import/README.md @@ -49,21 +49,21 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules | Name | Source | Version | |------|--------|---------| | [aurora](#module\_aurora) | ../../ | n/a | -| [import\_s3\_bucket](#module\_import\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 3.0 | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [import\_s3\_bucket](#module\_import\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 5.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/s3-import/main.tf b/examples/s3-import/main.tf index 86f9bf0..ecb9986 100644 --- a/examples/s3-import/main.tf +++ b/examples/s3-import/main.tf @@ -67,7 +67,7 @@ module "aurora" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr @@ -82,7 +82,7 @@ module "vpc" { module "import_s3_bucket" { source = "terraform-aws-modules/s3-bucket/aws" - version = "~> 3.0" + version = "~> 5.0" bucket_prefix = "${local.name}-" acl = "private" diff --git a/examples/s3-import/versions.tf b/examples/s3-import/versions.tf index c00acf7..11ff3f1 100644 --- a/examples/s3-import/versions.tf +++ b/examples/s3-import/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } } } diff --git a/examples/serverless/README.md b/examples/serverless/README.md index 42eb54c..f2fbc54 100644 --- a/examples/serverless/README.md +++ b/examples/serverless/README.md @@ -20,14 +20,14 @@ Note that this example may create resources which cost money. Run `terraform des | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.89 | +| [aws](#requirement\_aws) | >= 6.12.0 | | [random](#requirement\_random) | >= 3.5 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.89 | +| [aws](#provider\_aws) | >= 6.12.0 | | [random](#provider\_random) | >= 3.5 | ## Modules @@ -38,7 +38,7 @@ Note that this example may create resources which cost money. Run `terraform des | [aurora\_mysql\_v2](#module\_aurora\_mysql\_v2) | ../../ | n/a | | [aurora\_postgresql](#module\_aurora\_postgresql) | ../../ | n/a | | [aurora\_postgresql\_v2](#module\_aurora\_postgresql\_v2) | ../../ | n/a | -| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 5.0 | +| [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | ~> 6.0 | ## Resources diff --git a/examples/serverless/main.tf b/examples/serverless/main.tf index 04ca33f..065cf3b 100644 --- a/examples/serverless/main.tf +++ b/examples/serverless/main.tf @@ -207,7 +207,7 @@ resource "random_password" "master" { module "vpc" { source = "terraform-aws-modules/vpc/aws" - version = "~> 5.0" + version = "~> 6.0" name = local.name cidr = local.vpc_cidr diff --git a/examples/serverless/versions.tf b/examples/serverless/versions.tf index 2832cf7..9bb2a42 100644 --- a/examples/serverless/versions.tf +++ b/examples/serverless/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } random = { source = "hashicorp/random" diff --git a/modules/dsql/README.md b/modules/dsql/README.md index 0834266..63a81fc 100644 --- a/modules/dsql/README.md +++ b/modules/dsql/README.md @@ -38,13 +38,13 @@ module "dsql_cluster_2" { | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.100 | +| [aws](#requirement\_aws) | >= 6.12.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.100 | +| [aws](#provider\_aws) | >= 6.12.0 | ## Modules diff --git a/modules/dsql/versions.tf b/modules/dsql/versions.tf index 7aad8ab..11ff3f1 100644 --- a/modules/dsql/versions.tf +++ b/modules/dsql/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.100" + version = ">= 6.12.0" } } } diff --git a/versions.tf b/versions.tf index c00acf7..11ff3f1 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.89" + version = ">= 6.12.0" } } }