Grouping actions into action groups
An action group contains one or more actions. Grouping actions into action groups helps you keep your workflow organized, and also allows you to configure dependencies between different groups.
Note
You cannot nest action groups within other action groups or actions.
Use the following instructions to define an action group.
Example: Defining two action groups
The following example shows how to define two action groups:
BuildAndTest
and Deploy
. The BuildAndTest
group includes two actions (Build
and Test
), and the
Deploy
group also includes two actions
(DeployCloudFormationStack
and DeployToECS
).
Actions:
BuildAndTest: # Action group 1
Actions:
Build:
Identifier: aws/build@v1
Configuration:
...
Test:
Identifier: aws/managed-test@v1
Configuration:
Deploy: #Action group 2
Actions:
DeployCloudFormationStack:
Identifier: aws/cfn-deploy@v1
Configuration:
...
DeployToECS:
Identifier: aws/ecs-deploy@v1
Configuration:
...