donaldpiret/ECS Deployment
Github action using fabfuel/ecs-deploy script for ecs deployments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| action | Action to perform. Defaults to deploy | yes | deploy |
| cluster | Cluster name where service/task will be deployed | yes | — |
| target | Service or task name to perform this action on | yes | — |
| tag | Applicable to the deploy and cron actions. Changes the tag of all images in all containers in the task definition to the tag given | no | — |
| image | Applicable to the deploy and cron actions. Updates the image of a specific container. Pass the value as "[container-name] [image-name]:[image-tag]". You can pass multiple values as comma-separated | no | — |
| task | Applicable to the deploy action. Updates the target service with a new task definition, which can either be an ARN, a family name with revision, or just a family name (you will get the most recent revision) | no | — |
| rule | Applicable to the cron action. Updates the scheduled task rule with a new task definition | no | — |
| env_vars | Set one or more environment variables. The syntax is "[container] [ENV_VAR_NAME] [ENV_VAR_VALUE]". You can set multiple env vars by comma-separating them as "[container] [ENV_VAR_NAME] [ENV_VAR_VALUE], [container] [ANOTHER_ENV_VAR_NAME] [ANOTHER_ENV_VAR_VALUE]" | no | — |
| exclusive_env | To reset all existing environment variables of a task definition. Set to "true" to enable | no | — |
| secrets | Set one or more secrets from parameter store or secrets manager. The syntax is "[container] [SECRET_NAME] [SECRET_ARN]". You can set multiple env vars by comma-separating them as "[container] [SECRET_NAME] [SECRET_ARN], [container] [ANOTHER_SECRET_NAME] [ANOTHER_SECRET_ARN]" | no | — |
| exclusive_secrets | To reset all existing secrets (secret environment variables) of a task definition. Set to "true" to enable | no | — |
| command | To change the command of a specific container. The syntax is "[container] "[command]" " | no | — |
| task_role | To change or set the role, the service's task should run as, specify the role ARN here | no | — |
| ignore_warnings | To ignore warnings that come up during deployment and continue to wait until the deployment times out, set this to "true" | no | — |
| no_deregister | To prevent the previous task defintion from being deleted, set this to "true" | no | — |
| rollback | To rollback to previous revision, if deployment failed, set this to "true" | no | — |
| timeout | How long to wait for things to time out (in seconds) | no | 300 |
| scale_value | Applicable to the scale action. Determines how many running tasks you wish to have on the service | no | — |
| launch_type | Applicable to the run action. Setting this value to FARGATE will launch the task on fargate (see required options below) | no | — |
| security_group | Required the run action with FARGATE launch type. Determines the security group ID to attach to this task | no | — |
| subnet | Required the run action with FARGATE launch type. Determines the subnet ID to launch this task into | no | — |
| public_ip | Applies to the run action with FARGATE launch type. If set to true will attach this task with a public IP | no | — |
Outputs
no outputs