From 57590fae5aa4047c3395b6331d3811e6fa11abe2 Mon Sep 17 00:00:00 2001 From: SteveLinden Date: Tue, 17 Oct 2023 11:55:10 +0100 Subject: [PATCH 1/3] Pinted to latest s3-bucket release and stopped a KMS checkov - CKV2_AWS_64 - check --- main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 1ecc44d..24b8f84 100644 --- a/main.tf +++ b/main.tf @@ -69,7 +69,8 @@ resource "random_string" "random6" { } module "s3-bucket" { - source = "github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket?ref=v7.0.0" + #checkov:skip=CKV2_AWS_64: "Ensure KMS key Policy is defined - not needed here" + source = "github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket?ref=v7.1.0" providers = { # Since replication_enabled is false, the below provider is not being used. From 84d2af4af4f7079c3ac43549bb9e93cab44977af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Oct 2023 12:20:43 +0000 Subject: [PATCH 2/3] terraform-docs: automated action --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a53bcab..bbc1482 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ In order to prevent older versions from being retained forever, in addition to t | Name | Source | Version | |------|--------|---------| -| [s3-bucket](#module\_s3-bucket) | github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket | 8688bc15a08fbf5a4f4eef9b7433c5a417df8df1 | +| [s3-bucket](#module\_s3-bucket) | github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket | 568694e50e03630d99cb569eafa06a0b879a1239 | ## Resources From 0919ffb231f353e3cb79424031e9d45ef8d9c265 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Oct 2023 13:19:23 +0000 Subject: [PATCH 3/3] Commit changes made by code formatters --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 2d3e5ec..49cd649 100644 --- a/main.tf +++ b/main.tf @@ -102,7 +102,7 @@ resource "random_string" "random6" { } module "s3-bucket" { - #checkov:skip=CKV2_AWS_64: "Ensure KMS key Policy is defined - not needed here" + #checkov:skip=CKV2_AWS_64: "Ensure KMS key Policy is defined - not needed here" source = "github.com/ministryofjustice/modernisation-platform-terraform-s3-bucket?ref=568694e50e03630d99cb569eafa06a0b879a1239" providers = {