-
Notifications
You must be signed in to change notification settings - Fork 2
/
rmets_task_def.yaml
37 lines (37 loc) · 1.04 KB
/
rmets_task_def.yaml
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
---
Resources:
ClimateTask:
Type: AWS::ECS::TaskDefinition
Properties:
executionRoleArn: arn:aws:iam::288687564189:role/ecsTaskExecutionRole
containerDefinitions:
- logConfiguration:
logDriver: awslogs
options:
awslogs-group: "/ecs/ClimateTaskCF"
awslogs-region: eu-west-1
awslogs-stream-prefix: ecs
entryPoint:
- sh
- "-c"
portMappings:
- hostPort: 80
protocol: tcp
containerPort: 80
command:
- /bin/sh -c "ls && pwd && echo 'hello'"
cpu: 0
image: 288687564189.dkr.ecr.eu-west-1.amazonaws.com/climate-ensembling:climate
name: climate
taskRoleArn: arn:aws:iam::288687564189:role/climate-container-role
family: ClimateTaskCF
memory: 61440
cpu: 8192
ephemeralStorage:
sizeInGiB: 200
requiresCompatibilities:
- FARGATE
networkMode: awsvpc
tags:
- key: owner
value: erm70