@@ -307,7 +307,6 @@ Resources:
307
307
DependsOn :
308
308
- ECSTaskExecutionRole
309
309
- EC2Role
310
- - ServiceTargetGroup
311
310
- UpdateCapacityProvider
312
311
Properties :
313
312
ServiceName : !Sub '${AWS::StackName}'
@@ -331,10 +330,6 @@ Resources:
331
330
MinimumHealthyPercent : 75
332
331
DesiredCount : !Ref DesiredCount
333
332
TaskDefinition : !Ref TaskDefinition
334
- LoadBalancers :
335
- - ContainerName : !Sub '${AWS::StackName}'
336
- ContainerPort : !Ref ContainerPort
337
- TargetGroupArn : !Ref ServiceTargetGroup
338
333
ServiceConnectConfiguration :
339
334
Enabled : true
340
335
Namespace : emd-service-connect-namespace
@@ -363,32 +358,6 @@ Resources:
363
358
SourceSecurityGroupId : !Ref APIRouterSecurityGroup
364
359
Description : Allow traffic from API router service to model service
365
360
366
- ServiceTargetGroup :
367
- Type : ' AWS::ElasticLoadBalancingV2::TargetGroup'
368
- Properties :
369
- HealthCheckIntervalSeconds : 120
370
- HealthCheckPath : /ping
371
- HealthCheckProtocol : HTTP
372
- HealthCheckTimeoutSeconds : 5
373
- HealthyThresholdCount : 2
374
- TargetType : ip
375
- Port : !Ref ContainerPort
376
- Protocol : HTTP
377
- Matcher :
378
- HttpCode : 200-404
379
- UnhealthyThresholdCount : 10
380
- VpcId : !Ref VPCID
381
- TargetGroupAttributes :
382
- - Key : deregistration_delay.timeout_seconds
383
- Value : 0
384
- ServiceIngressfromLoadBalancer :
385
- Type : ' AWS::EC2::SecurityGroupIngress'
386
- Properties :
387
- Description : Ingress from the public ALB
388
- GroupId : !Ref ServiceSecurityGroup
389
- IpProtocol : -1
390
- SourceSecurityGroupId : !Ref PublicLoadBalancerSecurityGroup
391
-
392
361
ForceApiRouterDeployment :
393
362
Type : Custom::ForceApiRouterDeployment
394
363
DependsOn : Service
0 commit comments