Skip to content

Commit

Permalink
Add Healthchecks
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 16, 2024
1 parent dc07c70 commit abfd07b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions cloudformation/lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const PORTS = [{
Protocol: 'tcp',
Description: 'HLS Protocol',
Certificate: false,
Enabled: false
Enabled: true
},{
Name: 'WEBRTC',
Port: 8889,
Expand Down Expand Up @@ -352,7 +352,14 @@ for (const p of PORTS) {
Port: p.Port,
Protocol: p.Protocol.toUpperCase(),
TargetType: 'ip',
VpcId: cf.importValue(cf.join(['coe-vpc-', cf.ref('Environment'), '-vpc']))
VpcId: cf.importValue(cf.join(['coe-vpc-', cf.ref('Environment'), '-vpc'])),

HealthCheckEnabled: true,
HealthCheckIntervalSeconds: 30,
HealthCheckPort: 8554,
HealthCheckProtocol: 'TCP',
HealthCheckTimeoutSeconds: 10,
HealthyThresholdCount: 5,

Check failure on line 362 in cloudformation/lib/api.js

View workflow job for this annotation

GitHub Actions / test

Unexpected trailing comma
}
};
}
Expand Down

0 comments on commit abfd07b

Please sign in to comment.