From fdbebb963d1c01dc307285a1be77767999bd8dcd Mon Sep 17 00:00:00 2001 From: Rafael Leite <2132564+leite08@users.noreply.github.com> Date: Tue, 7 May 2024 14:24:46 -0500 Subject: [PATCH] build: add tmp env var to ECS to trigger new deploy Ref. metriport/metriport-internal#626 --- infra/lib/fhir-server-stack.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/lib/fhir-server-stack.ts b/infra/lib/fhir-server-stack.ts index 42a876abca8..92e8249adef 100644 --- a/infra/lib/fhir-server-stack.ts +++ b/infra/lib/fhir-server-stack.ts @@ -231,6 +231,7 @@ export class FHIRServerStack extends Stack { SPRING_PROFILES_ACTIVE: props.config.environmentType, DB_URL: dbUrl, DB_USERNAME: dbCreds.username, + TEMPORARY: "temporary-env-var", }, }, healthCheckGracePeriod: Duration.seconds(120), @@ -264,7 +265,7 @@ export class FHIRServerStack extends Stack { const fargateCPUAlarm = fargateService.service .metricCpuUtilization() .createAlarm(this, "FHIRCPUAlarm", { - threshold: 79, // can revert to 80 + threshold: 80, evaluationPeriods: 3, datapointsToAlarm: 2, treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,