File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,7 @@ Resources:
38
38
LoadBalancer :
39
39
Type : AWS::ElasticLoadBalancingV2::LoadBalancer
40
40
Properties :
41
- Name : MyLoadBalancer
42
- # TODO configure this more intentionally
43
- LoadBalancerAttributes :
44
- - Key : idle_timeout.timeout_seconds
45
- Value : ' 60'
41
+ # TODO: add a security group?
46
42
Subnets :
47
43
# TODO: This copies geocoder, but we should probably have a separate subnet for this service.
48
44
- !ImportValue VPC-SubnetB
@@ -67,6 +63,12 @@ Resources:
67
63
TargetType : ip
68
64
# TODO: This copies geocoder, but we should probably have a separate VPC for this service.
69
65
VpcId : !ImportValue VPC
66
+ HealthCheckIntervalSeconds : 30
67
+ HealthCheckPath : /test
68
+ HealthCheckProtocol : HTTP
69
+ HealthCheckTimeoutSeconds : 5
70
+ HealthyThresholdCount : 2
71
+ UnhealthyThresholdCount : 2
70
72
71
73
ECSCluster :
72
74
Type : " AWS::ECS::Cluster"
@@ -118,7 +120,6 @@ Resources:
118
120
Essential : true
119
121
PortMappings :
120
122
- ContainerPort : 5000
121
- HostPort : 5000
122
123
LogConfiguration :
123
124
LogDriver : awslogs
124
125
Options :
You can’t perform that action at this time.
0 commit comments