Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ The following inputs can be used as `step.with` keys
| `aws_ecs_service_launch_type`| String | Configuration type. Could be `EC2`, `FARGATE` or `EXTERNAL`. Defaults to `FARGATE`. |
| `aws_ecs_task_type`| String | Configuration type. Could be `EC2`, `FARGATE` or empty. Will default to `aws_ecs_service_launch_type` if none defined. (Blank if `EXTERNAL`). |
| `aws_ecs_task_name`| String | Elastic Container Service task name. If task is defined with a JSON file, should be the same as the container name. |
| `aws_ecs_task_ignore_definition` | Boolean | Ignores changes done in the ECS Tasks and services. That way stack can be managed from outside Terraform. Defaults to `false` |
| `aws_ecs_task_execution_role`| String | Elastic Container Service task execution role name from IAM. Defaults to `ecsTaskExecutionRole`. |
| `aws_ecs_task_json_definition_file`| String | Name of the json file containing task definition. Overrides every other input. |
| `aws_ecs_task_network_mode`| String | Network type to use in task definition. One of `none`, `bridge`, `awsvpc`, and `host`. |
Expand Down
4 changes: 4 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ inputs:
aws_ecs_task_name:
description: 'Elastic Container Service task name'
required: false
aws_ecs_task_ignore_definition:
description: 'Toggle to ignore task definition changes after first deployment. Useful when using external tools to manage the task definition.'
required: false
aws_ecs_task_execution_role:
description: 'Elastic Container Service task execution role name from IAM. Defaults to "ecsTaskExecutionRole"'
required: false
Expand Down Expand Up @@ -335,6 +338,7 @@ runs:
aws_ecs_service_launch_type: ${{ inputs.aws_ecs_service_launch_type }}
aws_ecs_task_type: ${{ inputs.aws_ecs_task_type }}
aws_ecs_task_name: ${{ inputs.aws_ecs_task_name }}
aws_ecs_task_ignore_definition: ${{ inputs.aws_ecs_task_ignore_definition }}
aws_ecs_task_execution_role: ${{ inputs.aws_ecs_task_execution_role }}
aws_ecs_task_json_definition_file: ${{ inputs.aws_ecs_task_json_definition_file }}
aws_ecs_task_network_mode: ${{ inputs.aws_ecs_task_network_mode }}
Expand Down