You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file path to the ECS container definition JSON file. This JSON file must be an array of objects, each corresponding to one of the images you defined in the `image` parameter.
43
+
44
+
Example: `"ecs/containers.json"`
45
+
```json
46
+
[
47
+
{
48
+
"essential": true,
49
+
"image": "amazon/amazon-ecs-sample",
50
+
"memory": 100,
51
+
"name": "sample",
52
+
"portMappings": [
53
+
{
54
+
"containerPort": 80,
55
+
"hostPort": 80
56
+
}
57
+
]
58
+
},
59
+
{
60
+
"essential": true,
61
+
"image": "amazon/amazon-ecs-sample",
62
+
"memory": 100,
63
+
"name": "sample",
64
+
"portMappings": [
65
+
{
66
+
"containerPort": 80,
67
+
"hostPort": 80
68
+
}
69
+
]
70
+
}
71
+
]
72
+
```
73
+
40
74
### `task-definition`
41
75
42
-
The file path to the ECS task definition JSON file.
76
+
The file path to the ECS task definition JSON file. Parameters specified in this file will be overridden by other arguments if set. Setting the `containers` property in this file will have no effect, define those parameters in `container-definitions`
43
77
44
78
Example: `"ecs/task.json"`
79
+
```json
80
+
{
81
+
"networkMode": "awsvpc"
82
+
}
83
+
```
84
+
85
+
### `service-definition`
86
+
87
+
The file path to the ECS service definition JSON file. Parameters specified in this file will be overridden by other arguments if set, e.g. `cluster`, `desired-count`, etc. Note that currently this json input will only be used when creating the service, NOT when updating it.
0 commit comments