Skip to content

ECS Wait

Actions
Waits for ECS service stability
v1.3
Latest
Star (6)

AWS ECS servicesStable waiter (with retries)

AWS provides a way to wait for certain ECS services to become stable, but this command times out after 10 minutes.
This action allows you to wait for services to become stable and retry the waiting process as many times as you want.

Inputs

ecs-cluster

Required - string
The ECS cluster that contains your services.

ecs-services

Required - string[]
A list of ECS services to make sure are stable.

retries

Optional - integer
The number of times you want to try the stability check. Default 2.

aws-access-key-id

Optional - string
Your AWS ACCESS_KEY_ID.
Must be provided as an input / defined as an environment variable.

aws-secret-access-key

Optional - string
Your AWS SECRET_ACCESS_KEY.
Must be provided as an input / defined as an environment variable.

aws-region

Optional - string
Your AWS REGION.
Must be provided as an input / defined as an environment variable.

verbose

Optional - boolean
Whether to print verbose debug messages to the console. Default false.

Outputs

retries

integer
How many retries happened until success.

Example usage

Using all available options

uses: oryanmoshe/[email protected]
with:
  aws-access-key-id: AKIAIOSFODNN7EXAMPLE
  aws-secret-access-key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
  aws-region: us-east-1
  ecs-cluster: my-ecs-cluster
  ecs-services: '["my-ecs-service-1", "my-ecs-service-2"]'
  retries: 5
  verbose: false

Minimal configuration

uses: oryanmoshe/[email protected]
with:
  ecs-cluster: my-ecs-cluster
  ecs-services: '["my-ecs-service-1", "my-ecs-service-2"]'

ECS Wait is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Waits for ECS service stability
v1.3
Latest

ECS Wait is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.