From f5bc3b128f4348475fdc452b09324dd6f582ba69 Mon Sep 17 00:00:00 2001 From: modernisation-platform-ci Date: Mon, 2 Sep 2024 05:01:29 +0000 Subject: [PATCH] Updates from GitHub Actions Format Code workflow --- .devcontainer/devcontainer-lock.json | 2 +- terraform/environments/apex/ecs.tf | 22 ++--- terraform/environments/apex/locals.tf | 2 +- .../environments/apex/modules/ecs/main.tf | 10 +-- .../locals_preproduction.tf | 2 +- .../locals_production.tf | 4 +- .../delius_microservice/rds_monitoring.tf | 80 +++++++++--------- .../digital-prison-reporting/data.tf | 2 +- .../digital-prison-reporting/kms.tf | 4 +- .../digital-prison-reporting/main.tf | 2 +- .../apigateway/serverless-lambda-gw/main.tf | 4 +- .../modules/dms/main.tf | 6 +- .../modules/dms_dps/main.tf | 2 +- .../modules/dms_s3_v2/main.tf | 2 +- .../modules/glue_job/main.tf | 2 +- .../modules/lambdas/generic/main.tf | 2 +- .../modules/rds/aws-aurora/main.tf | 2 +- .../modules/rds/postgres/main.tf | 4 +- .../modules/redshift/secrets.tf | 2 +- .../modules/s3_bucket/main.tf | 2 +- .../modules/secrets_manager/main.tf | 2 +- .../operational_datastore.tf | 2 +- .../platform_versions.tf | 2 +- .../digital-prison-reporting/policy.tf | 4 +- .../digital-prison-reporting/secrets.tf | 2 +- .../digital-prison-reporting/sg.tf | 4 +- .../temporary_domain_refresh_jobs.tf | 2 +- terraform/environments/edw/ec2.tf | 42 +++++----- terraform/environments/edw/efs.tf | 4 +- .../electronic-monitoring-data/api_gateway.tf | 50 +++++------ .../lambdas_main.tf | 2 +- .../modules/step_function/main.tf | 82 +++++++++---------- .../modules/step_function/outputs.tf | 2 +- .../modules/step_function/variables.tf | 14 ++-- .../step_functions_main.tf | 12 +-- terraform/environments/mojfin/mojfin-rds.tf | 6 +- .../environments/nomis/locals_development.tf | 2 +- .../nomis/locals_preproduction.tf | 2 +- .../environments/nomis/locals_production.tf | 2 +- terraform/environments/nomis/locals_test.tf | 2 +- .../locals_preproduction.tf | 2 +- .../locals_production.tf | 2 +- .../oasys-national-reporting/locals_test.tf | 2 +- .../oasys/locals_preproduction.tf | 2 +- .../environments/oasys/locals_production.tf | 8 +- terraform/environments/oasys/locals_test.tf | 2 +- .../tribunals/dns-delegate-route53.tf | 60 +++++++------- 47 files changed, 238 insertions(+), 238 deletions(-) diff --git a/.devcontainer/devcontainer-lock.json b/.devcontainer/devcontainer-lock.json index f54d94e3e2a..0293820c599 100644 --- a/.devcontainer/devcontainer-lock.json +++ b/.devcontainer/devcontainer-lock.json @@ -21,4 +21,4 @@ "integrity": "sha256:34eb8c510a11fc44abb8173519215fcb6b82715b94e647c69089ee23773c6dc8" } } -} \ No newline at end of file +} diff --git a/terraform/environments/apex/ecs.tf b/terraform/environments/apex/ecs.tf index 4137e84c413..9c9f053350c 100644 --- a/terraform/environments/apex/ecs.tf +++ b/terraform/environments/apex/ecs.tf @@ -6,17 +6,17 @@ module "apex-ecs" { source = "./modules/ecs" - subnet_set_name = local.subnet_set_name - vpc_all = local.vpc_all - app_name = local.application_name - container_instance_type = local.application_data.accounts[local.environment].container_instance_type - instance_type = local.application_data.accounts[local.environment].instance_type - user_data = local.user_data - key_name = local.application_data.accounts[local.environment].key_name - task_definition = local.task_definition - ec2_desired_capacity = local.application_data.accounts[local.environment].ec2_desired_capacity - ec2_max_size = local.application_data.accounts[local.environment].ec2_max_size - ec2_min_size = local.application_data.accounts[local.environment].ec2_min_size + subnet_set_name = local.subnet_set_name + vpc_all = local.vpc_all + app_name = local.application_name + container_instance_type = local.application_data.accounts[local.environment].container_instance_type + instance_type = local.application_data.accounts[local.environment].instance_type + user_data = local.user_data + key_name = local.application_data.accounts[local.environment].key_name + task_definition = local.task_definition + ec2_desired_capacity = local.application_data.accounts[local.environment].ec2_desired_capacity + ec2_max_size = local.application_data.accounts[local.environment].ec2_max_size + ec2_min_size = local.application_data.accounts[local.environment].ec2_min_size # task_definition_volume = local.application_data.accounts[local.environment].task_definition_volume # network_mode = local.application_data.accounts[local.environment].network_mode server_port = local.application_data.accounts[local.environment].server_port diff --git a/terraform/environments/apex/locals.tf b/terraform/environments/apex/locals.tf index 8395c0ac08c..0712f9b3514 100644 --- a/terraform/environments/apex/locals.tf +++ b/terraform/environments/apex/locals.tf @@ -75,7 +75,7 @@ locals { env_account_id = local.environment_management.account_ids[terraform.workspace] app_db_password_name = "APP_APEX_DBPASSWORD_TAD" - db_hostname = "db.${local.application_name}" + db_hostname = "db.${local.application_name}" database-instance-userdata = <