From 85da763f3218cf4ec6eb54cd0c4f64aca1f8e4bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Taveira=20Ara=C3=BAjo?= Date: Wed, 1 May 2024 10:37:35 -0700 Subject: [PATCH] feat(s3_bucket): bump module version to 4.1.0 --- examples/cloudtrail/README.md | 4 ++-- examples/cloudtrail/main.tf | 6 ++---- modules/s3_bucket/README.md | 2 +- modules/s3_bucket/main.tf | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/examples/cloudtrail/README.md b/examples/cloudtrail/README.md index 836684d..883b4f2 100644 --- a/examples/cloudtrail/README.md +++ b/examples/cloudtrail/README.md @@ -43,8 +43,8 @@ Note that this will create AWS resources - once you are done, run `terraform des | Name | Source | Version | |------|--------|---------| -| [cloudtrail](#module\_cloudtrail) | cloudposse/cloudtrail/aws | 0.15.0 | -| [cloudtrail\_s3\_bucket](#module\_cloudtrail\_s3\_bucket) | cloudposse/cloudtrail-s3-bucket/aws | 0.15.0 | +| [cloudtrail](#module\_cloudtrail) | cloudposse/cloudtrail/aws | 0.24.0 | +| [cloudtrail\_s3\_bucket](#module\_cloudtrail\_s3\_bucket) | cloudposse/cloudtrail-s3-bucket/aws | 0.24.0 | | [observe\_lambda](#module\_observe\_lambda) | ../.. | n/a | | [observe\_lambda\_s3\_subscription](#module\_observe\_lambda\_s3\_subscription) | ../..//modules/s3_bucket_subscription | n/a | diff --git a/examples/cloudtrail/main.tf b/examples/cloudtrail/main.tf index dfd6242..64d852f 100644 --- a/examples/cloudtrail/main.tf +++ b/examples/cloudtrail/main.tf @@ -1,19 +1,17 @@ -provider "aws" {} - resource "random_pet" "run" { length = 2 } module "cloudtrail_s3_bucket" { source = "cloudposse/cloudtrail-s3-bucket/aws" - version = "0.15.0" + version = "0.24.0" name = random_pet.run.id force_destroy = true } module "cloudtrail" { source = "cloudposse/cloudtrail/aws" - version = "0.15.0" + version = "0.24.0" name = random_pet.run.id enable_log_file_validation = true include_global_service_events = true diff --git a/modules/s3_bucket/README.md b/modules/s3_bucket/README.md index b9937fc..ea8f2cd 100644 --- a/modules/s3_bucket/README.md +++ b/modules/s3_bucket/README.md @@ -44,7 +44,7 @@ module "observe_lambda_s3_subscription" { | Name | Source | Version | |------|--------|---------| -| [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 3.7.0 | +| [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 4.1.0 | ## Resources diff --git a/modules/s3_bucket/main.tf b/modules/s3_bucket/main.tf index 123465c..be8ca54 100644 --- a/modules/s3_bucket/main.tf +++ b/modules/s3_bucket/main.tf @@ -8,7 +8,7 @@ data "aws_caller_identity" "current" {} module "s3_bucket" { source = "terraform-aws-modules/s3-bucket/aws" - version = "~> 3.7.0" + version = "~> 4.1.0" bucket = var.bucket_name acl = "log-delivery-write"