Skip to content

Commit 3653c07

Browse files
committed
update readme
1 parent 51f11f3 commit 3653c07

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Registers an Amazon ECS task definition and deploys it to an ECS service.
3232
3333
See [action.yml](action.yml) for the full documentation for this action's inputs and outputs.
3434
In most cases when running a one-off task, subnet ID's, subnet groups, and assign public IP will be required.
35+
Assign public IP will only be applied when a subnet or security group is defined.
3536
3637
### Task definition file
3738
@@ -269,7 +270,8 @@ In the following example, the service would not be updated until the ad-hoc task
269270
wait-for-task-stopped: true
270271
```
271272

272-
Overrides and VPC networking options are available as well. See [action.yml](action.yml) for more details.
273+
Overrides and VPC networking options are available as well. See [action.yml](action.yml) for more details. The `FARGATE`
274+
launch type requires `awsvpc` network mode in your task definition and you must specify a network configuration.
273275

274276
## Troubleshooting
275277

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ inputs:
5353
description: 'A comma-separated list of subnet IDs to assign to a task when run outside of a service. Will default to none.'
5454
required: false
5555
run-task-assign-public-IP:
56-
description: "Whether the task's elastic network interface receives a public IP address. The default value is DISABLED."
56+
description: "Whether the task's elastic network interface receives a public IP address. The default value is DISABLED but will only be applied if run-task-subnets or run-task-security-groups are also set."
5757
required: false
5858
run-task-launch-type:
5959
description: "ECS launch type for tasks run outside of a service. Valid values are 'FARGATE' or 'EC2'. Will default to 'FARGATE'."

0 commit comments

Comments
 (0)