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.
Required - string
The ECS cluster that contains your services.
Required - string[]
A list of ECS services to make sure are stable.
Optional - integer
The number of times you want to try the stability check. Default 2
.
Optional - string
Your AWS ACCESS_KEY_ID.
Must be provided as an input / defined as an environment variable.
Optional - string
Your AWS SECRET_ACCESS_KEY.
Must be provided as an input / defined as an environment variable.
Optional - string
Your AWS REGION.
Must be provided as an input / defined as an environment variable.
Optional - boolean
Whether to print verbose debug messages to the console. Default false
.
integer
How many retries happened until success.
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
uses: oryanmoshe/[email protected]
with:
ecs-cluster: my-ecs-cluster
ecs-services: '["my-ecs-service-1", "my-ecs-service-2"]'