Skip to content

Commit

Permalink
feat(s3_bucket): bump module version to 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jta committed May 1, 2024
1 parent f55e2d8 commit 85da763
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/cloudtrail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Note that this will create AWS resources - once you are done, run `terraform des

| Name | Source | Version |
|------|--------|---------|
| <a name="module_cloudtrail"></a> [cloudtrail](#module\_cloudtrail) | cloudposse/cloudtrail/aws | 0.15.0 |
| <a name="module_cloudtrail_s3_bucket"></a> [cloudtrail\_s3\_bucket](#module\_cloudtrail\_s3\_bucket) | cloudposse/cloudtrail-s3-bucket/aws | 0.15.0 |
| <a name="module_cloudtrail"></a> [cloudtrail](#module\_cloudtrail) | cloudposse/cloudtrail/aws | 0.24.0 |
| <a name="module_cloudtrail_s3_bucket"></a> [cloudtrail\_s3\_bucket](#module\_cloudtrail\_s3\_bucket) | cloudposse/cloudtrail-s3-bucket/aws | 0.24.0 |
| <a name="module_observe_lambda"></a> [observe\_lambda](#module\_observe\_lambda) | ../.. | n/a |
| <a name="module_observe_lambda_s3_subscription"></a> [observe\_lambda\_s3\_subscription](#module\_observe\_lambda\_s3\_subscription) | ../..//modules/s3_bucket_subscription | n/a |

Expand Down
6 changes: 2 additions & 4 deletions examples/cloudtrail/main.tf
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/s3_bucket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module "observe_lambda_s3_subscription" {

| Name | Source | Version |
|------|--------|---------|
| <a name="module_s3_bucket"></a> [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 3.7.0 |
| <a name="module_s3_bucket"></a> [s3\_bucket](#module\_s3\_bucket) | terraform-aws-modules/s3-bucket/aws | ~> 4.1.0 |

## Resources

Expand Down
2 changes: 1 addition & 1 deletion modules/s3_bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 85da763

Please sign in to comment.