From 95a4e0645c82fb8475ba2c67777956fabdbd092f Mon Sep 17 00:00:00 2001 From: Silumesii Maboshe Date: Fri, 13 Dec 2024 08:54:20 +0200 Subject: [PATCH 1/4] Bump Terraform AWS provider from version 4 to 5 https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0 Ref: - https://trello.com/c/MIAiwlJ4/25-update-terraform-modules-to-support-aws-v5-providers --- versions.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions.tf b/versions.tf index 540414a..21c5f63 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 4.0" + version = "~> 5.0" } } } From 8910ffbc20db6d569bd67c20894007557678bb0a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Dec 2024 06:55:20 +0000 Subject: [PATCH 2/4] terraform-docs: automated action --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a966e7f..d41b51a 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ secret. You can add this to an IAM role or policy. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.14.0 | -| [aws](#requirement\_aws) | ~> 4.0 | +| [aws](#requirement\_aws) | ~> 5.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | ~> 4.0 | +| [aws](#provider\_aws) | ~> 5.0 | ## Modules From 92173545c187d0b0a8768098c23227940ef7aa91 Mon Sep 17 00:00:00 2001 From: Olamide Date: Fri, 13 Dec 2024 08:41:48 +0100 Subject: [PATCH 3/4] Bump of tag version for aws secrets module --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 19e8327..7c77076 100644 --- a/main.tf +++ b/main.tf @@ -22,7 +22,7 @@ data "aws_iam_policy_document" "send_mail" { } module "secret" { - source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.4.0" + source = "github.com/thoughtbot/terraform-aws-secrets//secret?ref=v0.8.0" admin_principals = var.admin_principals description = "SMTP username and password for ${var.name}" @@ -45,7 +45,7 @@ module "secret" { } module "rotation" { - source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.4.0" + source = "github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function?ref=v0.8.0" handler = "lambda_function.lambda_handler" role_arn = module.secret.rotation_role_arn From 803a73341781fe54f863f48627d70c4527b149d8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Dec 2024 07:42:25 +0000 Subject: [PATCH 4/4] terraform-docs: automated action --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d41b51a..7469213 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ secret. You can add this to an IAM role or policy. | Name | Source | Version | |------|--------|---------| -| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.4.0 | -| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.4.0 | +| [rotation](#module\_rotation) | github.com/thoughtbot/terraform-aws-secrets//secret-rotation-function | v0.8.0 | +| [secret](#module\_secret) | github.com/thoughtbot/terraform-aws-secrets//secret | v0.8.0 | ## Resources