Skip to content

Commit

Permalink
Merge pull request #58 from metriport/626-fix-cicd_4
Browse files Browse the repository at this point in the history
626 Add tmp env var to ECS to trigger new deploy
  • Loading branch information
leite08 authored May 7, 2024
2 parents d0e6520 + fdbebb9 commit 7b7912f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/lib/fhir-server-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 7b7912f

Please sign in to comment.