forked from andreugallofre/Capside-Fargate-Blog-Post
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskDefintion_Template.json
38 lines (38 loc) · 1.07 KB
/
TaskDefintion_Template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"Metadata":{
"StackVersion":3
},
"Resources":{
"TaskDefinition":{
"Properties":{
"ContainerDefinitions":[
{
"Image":"amazon_account_id.dkr.ecr.eu-west-1.amazonaws.com/capside-blog-post:1.1",
"LogConfiguration":{
"LogDriver":"awslogs",
"Options":{
"awslogs-group":{
"Ref":"ECSTaskLogGroup"
},
"awslogs-region":"eu-west-1",
"awslogs-stream-prefix":"ecs"
}
},
"Name":"TestClouddeployECS"
}
],
"Cpu":"256",
"ExecutionRoleArn":{
"Ref":"ExecutionRole"
},
"Family":"Capside-Blog-Post",
"Memory":"512",
"NetworkMode":"awsvpc",
"RequiresCompatibilities":[
"FARGATE"
]
},
"Type":"AWS::ECS::TaskDefinition"
}
}
}