diff --git a/README.md b/README.md index a966e7f..7469213 100644 --- a/README.md +++ b/README.md @@ -33,20 +33,20 @@ 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 | 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 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 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" } } }