From 976173d91afc6b4ddff3036dc3c390ff08929142 Mon Sep 17 00:00:00 2001 From: modernisation-platform-ci Date: Mon, 21 Oct 2024 05:05:33 +0000 Subject: [PATCH] Updates from GitHub Actions Format Code workflow --- .../security-groups.tf | 6 +- terraform/environments/apex/backups.tf | 2 +- terraform/environments/apex/locals.tf | 2 +- .../components/dms/dms_db_target_endpoints.tf | 4 +- .../modules/dms_s3_v2/main.tf | 2 +- .../locals_preproduction.tf | 188 +++++++++--------- terraform/environments/ppud/alb_external.tf | 10 +- .../ppud/cloudwatch_alarms_windows.tf | 12 +- terraform/environments/ppud/s3.tf | 92 ++++----- terraform/environments/ppud/sns.tf | 78 ++++---- 10 files changed, 198 insertions(+), 198 deletions(-) diff --git a/terraform/environments/analytical-platform-ingestion/security-groups.tf b/terraform/environments/analytical-platform-ingestion/security-groups.tf index 606e2b3f2db..59d9767fe25 100644 --- a/terraform/environments/analytical-platform-ingestion/security-groups.tf +++ b/terraform/environments/analytical-platform-ingestion/security-groups.tf @@ -90,10 +90,10 @@ module "datasync_activation_nlb_security_group" { vpc_id = module.connected_vpc.vpc_id egress_cidr_blocks = ["${local.environment_configuration.datasync_instance_private_ip}/32"] - egress_rules = ["http-80-tcp",] + egress_rules = ["http-80-tcp", ] ingress_cidr_blocks = ["${data.external.external_ip.result["ip"]}/32"] - ingress_rules = ["http-80-tcp"] + ingress_rules = ["http-80-tcp"] tags = local.tags } @@ -110,7 +110,7 @@ module "datasync_vpc_endpoint_security_group" { vpc_id = module.connected_vpc.vpc_id egress_cidr_blocks = [module.connected_vpc.vpc_cidr_block] - egress_rules = ["all-all",] + egress_rules = ["all-all", ] ingress_with_cidr_blocks = [ { diff --git a/terraform/environments/apex/backups.tf b/terraform/environments/apex/backups.tf index bfb2c531b81..081707a0940 100644 --- a/terraform/environments/apex/backups.tf +++ b/terraform/environments/apex/backups.tf @@ -63,7 +63,7 @@ resource "aws_backup_vault_policy" "apex" { resource "aws_backup_vault" "prod_apex" { count = local.environment == "production" ? 1 : 0 - name = "${local.application_name}-production-backup-vault" + name = "${local.application_name}-production-backup-vault" tags = merge( local.tags, { "Name" = "${local.application_name}-production-backup-vault" }, diff --git a/terraform/environments/apex/locals.tf b/terraform/environments/apex/locals.tf index 1e713522d1d..454c5a3d931 100644 --- a/terraform/environments/apex/locals.tf +++ b/terraform/environments/apex/locals.tf @@ -78,7 +78,7 @@ locals { app_db_password_name = "APP_APEX_DBPASSWORD_TAD" db_hostname = "db.${local.application_name}" - backup_schedule_tags = local.environment == "production" ? { "snapshot-35-day-retention" = "yes" } : null + backup_schedule_tags = local.environment == "production" ? { "snapshot-35-day-retention" = "yes" } : null database-instance-userdata = <