From 4df934c1ac988e700f4822889d7396df01d95568 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Tue, 20 Feb 2024 19:25:44 +0000 Subject: [PATCH 1/3] repush From 832458e63934e4ead44f669f9613a671c72ff286 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Tue, 27 Feb 2024 12:38:19 +0000 Subject: [PATCH 2/3] app variables for staging and prod --- .../cdpt-ifs/application_variables.json | 37 ++++++++++++++++++- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/terraform/environments/cdpt-ifs/application_variables.json b/terraform/environments/cdpt-ifs/application_variables.json index 955f679b66a..62ca90c0d48 100644 --- a/terraform/environments/cdpt-ifs/application_variables.json +++ b/terraform/environments/cdpt-ifs/application_variables.json @@ -20,10 +20,43 @@ "db_snapshot_identifier": "arn:aws:rds:eu-west-2:613903586696:snapshot:ifs-cdpt-dev-staging-feb-12-2024" }, "preproduction": { - "example_var": "preproduction-data" + "environment_name": "staging", + "container_port": 80, + "client_id": "6a941975-c916-4189-b650-e7b1f1ed7975", + "ami_image_id": "ami-06cdd5b44c17085ed", + "instance_type": "t3.medium", + "app_count": 2, + "ec2_desired_capacity": 2, + "ec2_max_size": 3, + "ec2_min_size": 2, + "db_instance_class": "db.t3.small", + "db_user": "dbadmin", + "db_allocated_storage": "100", + "db_name": "ifs-dev", + "env_name": "STAGING", + "db_instance_identifier": "db-ifs-staging", + "s3_bucket_name": "ifs-staging-bucket", + "db_snapshot_identifier": "arn:aws:rds:eu-west-2:613903586696:snapshot:ifs-cdpt-dev-staging-feb-12-2024" + }, "production": { - "example_var": "production-data" + "environment_name": "production", + "container_port": 80, + + "ami_image_id": "ami-06cdd5b44c17085ed", + "instance_type": "t3.medium", + "app_count": 2, + "ec2_desired_capacity": 2, + "ec2_max_size": 3, + "ec2_min_size": 2, + "db_instance_class": "db.t3.small", + "db_user": "dbadmin", + "db_allocated_storage": "100", + "db_name": "IntegratedFraud", + "env_name": "PRODUCTION", + "db_instance_identifier": "db-ifs-production", + "s3_bucket_name": "ifs-production-bucket", + "db_snapshot_identifier": "arn:aws:rds:eu-west-2:613903586696:snapshot:ifs-production-feb-27-2024" } } } From 51618f4c54a73771aa179ffc7532121f6b6f4ac9 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Tue, 27 Feb 2024 12:42:49 +0000 Subject: [PATCH 3/3] client id for prod --- terraform/environments/cdpt-ifs/application_variables.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/cdpt-ifs/application_variables.json b/terraform/environments/cdpt-ifs/application_variables.json index 62ca90c0d48..373b7f94220 100644 --- a/terraform/environments/cdpt-ifs/application_variables.json +++ b/terraform/environments/cdpt-ifs/application_variables.json @@ -42,7 +42,7 @@ "production": { "environment_name": "production", "container_port": 80, - + "client_id": "cfc00cbf-dea8-4a0b-83c6-c1dc8cb8947e", "ami_image_id": "ami-06cdd5b44c17085ed", "instance_type": "t3.medium", "app_count": 2,