From 08867ceb483c6601b3e677ed025ae4d9a7efe80e Mon Sep 17 00:00:00 2001 From: modernisation-platform-ci Date: Wed, 5 Apr 2023 04:47:18 +0000 Subject: [PATCH] Updates from GitHub Actions Format Code workflow --- .../environments/delius-core/application_variables.json | 6 +----- terraform/environments/oasys/locals.tf | 6 +++--- terraform/environments/oasys/locals_development.tf | 2 +- terraform/environments/xhibit-portal/importmachine.tf | 8 ++++---- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/terraform/environments/delius-core/application_variables.json b/terraform/environments/delius-core/application_variables.json index 56d40b0204f..a0c8ee1ef31 100644 --- a/terraform/environments/delius-core/application_variables.json +++ b/terraform/environments/delius-core/application_variables.json @@ -17,10 +17,7 @@ "rds_multi_az": "false", "rds_iam_database_authentication_enabled": "false", "rds_monitoring_interval": "0", - "rds_enabled_cloudwatch_logs_exports": [ - "alert", - "audit" - ], + "rds_enabled_cloudwatch_logs_exports": ["alert", "audit"], "rds_performance_insights_enabled": "false", "rds_skip_final_snapshot": "true", "rds_apply_immediately": "true" @@ -36,4 +33,3 @@ } } } - diff --git a/terraform/environments/oasys/locals.tf b/terraform/environments/oasys/locals.tf index 2699334dd5e..11a4b2a41a9 100644 --- a/terraform/environments/oasys/locals.tf +++ b/terraform/environments/oasys/locals.tf @@ -137,10 +137,10 @@ locals { config = merge(module.baseline_presets.ec2_instance.config.db, { ami_name = "oasys_oracle_db_*" }) - instance = module.baseline_presets.ec2_instance.instance.default_db + instance = module.baseline_presets.ec2_instance.instance.default_db autoscaling_schedules = {} - autoscaling_group = module.baseline_presets.ec2_autoscaling_group - user_data_cloud_init = module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags + autoscaling_group = module.baseline_presets.ec2_autoscaling_group + user_data_cloud_init = module.baseline_presets.ec2_instance.user_data_cloud_init.ssm_agent_ansible_no_tags ebs_volumes = { "/dev/sdb" = { # /u01 size = 100 diff --git a/terraform/environments/oasys/locals_development.tf b/terraform/environments/oasys/locals_development.tf index b8b494676df..7b2ec32fc6a 100644 --- a/terraform/environments/oasys/locals_development.tf +++ b/terraform/environments/oasys/locals_development.tf @@ -75,7 +75,7 @@ locals { dev-oasys-db = merge(local.database, { autoscaling_schedules = module.baseline_presets.ec2_autoscaling_schedules.working_hours - tags = local.database_tags + tags = local.database_tags }) } diff --git a/terraform/environments/xhibit-portal/importmachine.tf b/terraform/environments/xhibit-portal/importmachine.tf index 13721f0b9af..a565dee8a58 100644 --- a/terraform/environments/xhibit-portal/importmachine.tf +++ b/terraform/environments/xhibit-portal/importmachine.tf @@ -13,10 +13,10 @@ resource "aws_security_group" "importmachine" { ingress { - description = "from all" - from_port = 0 - to_port = 0 - protocol = "-1" + description = "from all" + from_port = 0 + to_port = 0 + protocol = "-1" security_groups = [aws_security_group.prtg_lb.id] }