In this tutorial we will show you how to create a Workflow that controls tags applied when a new EC2 instance is created.
if
Step to check if there is one or less tags assigned to the new EC2 instance.if
Step to check if there is one or less tags assigned to the new EC2 instanceif
Step by clicking {{len(event_payload.tags)}} Less or equals to equals 1
If one tag or less is found, Step 2 occurs.
If more than one tag is found, Workflow stops.Parameter | Description | Example |
---|---|---|
Channel | Receipts channel name. | Random |
Text | Descriptive text. | The following instance {{event_payload.instance}} in{{event_payload.placement}} violates tagging policy. Here are the attached tags. {{len(event_payload.tags)}} |