Skip to content

Commit eae776b

Browse files
committed
ECS Task Definition
1 parent 4891a5a commit eae776b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cloud-formation/ecs.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,17 @@ Resources:
2020
DesiredCount: 1
2121
LaunchType: FARGATE
2222
ServiceName: GoCaptureECSService
23+
TaskDefinition: !Ref TaskDefinition
24+
TaskDefinition:
25+
Type: AWS::ECS::TaskDefinition
26+
Properties:
27+
ContainerDefinitions:
28+
- ContainerDefinition
29+
Cpu: .25 vCPU
30+
ExecutionRoleArn: !Ref ExecutionRole
31+
Family: GoCapture
32+
Memory: 0.5 GB
33+
NetworkMode: awsvpc
34+
RuntimePlatform:
35+
RuntimePlatform
36+
TaskRoleArn: !Ref TaskRole

0 commit comments

Comments
 (0)