From b44c3b0231a2029007740b7f4d552cda15513020 Mon Sep 17 00:00:00 2001 From: Joey den Broeder Date: Tue, 22 Oct 2024 14:26:08 +0100 Subject: [PATCH 1/2] chore(asg): update to 8.x 7.x no longer supports AWS 4.x --- .spacelift/config.yml | 2 +- README.md | 6 +++--- asg.tf | 2 +- providers.tf | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.spacelift/config.yml b/.spacelift/config.yml index 3d20079..4bb8788 100644 --- a/.spacelift/config.yml +++ b/.spacelift/config.yml @@ -1,5 +1,5 @@ version: 1 -module_version: 2.6.3 +module_version: 2.6.4 tests: - name: AMD64-based workerpool project_root: examples/amd64 diff --git a/README.md b/README.md index 25bb8c8..d83f6e2 100644 --- a/README.md +++ b/README.md @@ -68,21 +68,21 @@ $ make docs | Name | Version | |------|---------| -| [aws](#requirement\_aws) | >= 4.0 | +| [aws](#requirement\_aws) | >= 5.0 | ## Providers | Name | Version | |------|---------| | [archive](#provider\_archive) | n/a | -| [aws](#provider\_aws) | >= 4.0 | +| [aws](#provider\_aws) | >= 5.0 | | [null](#provider\_null) | n/a | ## Modules | Name | Source | Version | |------|--------|---------| -| [asg](#module\_asg) | terraform-aws-modules/autoscaling/aws | ~> 6.0 | +| [asg](#module\_asg) | terraform-aws-modules/autoscaling/aws | ~> 8.0 | ## Resources diff --git a/asg.tf b/asg.tf index 68cd27c..a80ba80 100644 --- a/asg.tf +++ b/asg.tf @@ -78,7 +78,7 @@ poweroff module "asg" { source = "terraform-aws-modules/autoscaling/aws" - version = "~> 6.0" + version = "~> 8.0" name = local.base_name diff --git a/providers.tf b/providers.tf index 9bcc73a..da078fc 100644 --- a/providers.tf +++ b/providers.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 4.0" + version = ">= 5.0" } } } From c44295f700ab9c4050b5b543ce6262593a6e732d Mon Sep 17 00:00:00 2001 From: Adam Connelly Date: Wed, 20 Nov 2024 13:57:25 +0000 Subject: [PATCH 2/2] fix: bump AWS version in examples The new version of the ASG module requires a newer version of the AWS provider. --- README.md | 4 ++-- examples/amd64/main.tf | 2 +- examples/arm64/main.tf | 2 +- examples/custom-iam-role/main.tf | 2 +- providers.tf | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d83f6e2..4f63031 100644 --- a/README.md +++ b/README.md @@ -68,14 +68,14 @@ $ make docs | Name | Version | |------|---------| -| [aws](#requirement\_aws) | >= 5.0 | +| [aws](#requirement\_aws) | >= 5.55.0 | ## Providers | Name | Version | |------|---------| | [archive](#provider\_archive) | n/a | -| [aws](#provider\_aws) | >= 5.0 | +| [aws](#provider\_aws) | >= 5.55.0 | | [null](#provider\_null) | n/a | ## Modules diff --git a/examples/amd64/main.tf b/examples/amd64/main.tf index d843090..5e467c5 100644 --- a/examples/amd64/main.tf +++ b/examples/amd64/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "<5.0" + version = "< 6.0" } random = { source = "hashicorp/random" } diff --git a/examples/arm64/main.tf b/examples/arm64/main.tf index d1b3a8d..f4dd876 100644 --- a/examples/arm64/main.tf +++ b/examples/arm64/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "<5.0" + version = "< 6.0" } random = { source = "hashicorp/random" } diff --git a/examples/custom-iam-role/main.tf b/examples/custom-iam-role/main.tf index 93e41e4..ae3b1f2 100644 --- a/examples/custom-iam-role/main.tf +++ b/examples/custom-iam-role/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "<5.0" + version = "< 6.0" } } } diff --git a/providers.tf b/providers.tf index da078fc..cd98b95 100644 --- a/providers.tf +++ b/providers.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.0" + version = ">= 5.55.0" } } }