The Tag EBS Snapshots action can be used to add tags to EBS snapshots. The tags can be new tags, or those copied from the original EBS volume.
This action includes a "test mode" as a way of determining which snapshots will be tagged without actually tagging the snapshots. This way, you can fine tune your action without concern for tagging the wrong snapshots. Test Mode is on by default.
When test mode is enabled, execute your action normally then check the action logs to verify that only snapshots that should have been tagged would have been tagged, and that snapshots that should not have been tagged would not have been tagged.
When you are satisfied, disable Test Mode.
Please see Common Action Settings for a description of settings common to all action types.
Snapshot Identification Method
Indicates the selection method of the EBS snapshots to be tagged.
- All - Tags all snapshots
- By Resource Tag - Tags snapshots that match a resource tag value
- By Snapshot Description - Tag snapshots that match a comparison on their description
- By Volume ID - Tag snapshots for specific EBS volumes
Resource Tag Name
Required if Snapshot Identification Method is "By Resource Tag". Indicates the name of the resource tag used to compare.
Resource Tag Value
Required if Snapshot Identification Method is "By Resource Tag". Indicates the value of the resource tag used to compare.
Required if Snapshot Identification Method is "By Snapshot Description". Indicates the comparison to use when comparing the snapshot's description.
Required if Snapshot Identification Method is "By Volume ID". Specifies the volume IDs whose snapshots will be tagged.
Copy Tags From Volume
Indicates if tags should be copied from the original EBS volume. Possible options include:
- Yes, copy all tags
- Yes, but only tags missing from the snapshot
- Yes, but only tags already existing on the snapshot
New Resource Tags To Set
Optional. Resource tags can be added to the snapshots. Click "Add Tag" to add a tag and fill the tag data. Any number of tags can be set, although Amazon EC2 has a limit of 10 (including the Name tag). Macros can be used in the tag values to include run-time data.
Set New Tags Method
Indicates the tags which are to be set. Possible options include:
- Set all tags
- Set missing tags only
- Set existing tags only
Enables and disabled Test Mode (see above).
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.