wait

Intended mainly for synchronization purposes. Although steps with this action are often auto-generated to implement phase barriers, users may consider utilizing this action in manifests for their own goals.

Parameters

Name Type Constraints Default Definition
delay int or string optional 0 Delay period with optional time unit suffix. Supported time units are hour, minute and second (both singular and plural forms). If no time unit specified, seconds will be used.

Return Values

This action has no return values.

Example Usage

await60seconds:
  action: wait
  description: Sample step that waits for 1 minute.
  phase: sync
  precedingPhases: [deploy]
  parameters:
    delay: 60

await3minutes:
  action: wait
  description: Sample step that waits for 3 minutes.
  phase: sync
  precedingPhases: [deploy]
  parameters:
    delay: 3 minutes