Delete Volumes
Delete EBS volumes with optional pre-deletion snapshots.
Volumes must be in available state to be deleted.
Snapshots can be created before deletion if snapshot is supplied.
Usage
Input
Parameter | Description | Type | Required | Default Value |
---|---|---|---|---|
volume_ids | List of Volume IDs to delete | list(string) | Yes | None |
snapshot | Create snapshots before deletion | bool | No | False |
region | Region for operation. Leave blank for session default | string | No | Session Default |
debug | Increase log verbosity | bool | No | False |
silent | Decrease log verbosity | bool | No | False |
output | Output format table | string | No | None |
session | Established session | object | No | None |
Output
Returns a list
of volume IDs that failed the deletion:
['vol-1234567890abcdef0', 'vol-abcdef1234567890']