ec2 delete-volume
Delete an ec2 volume
Description
Delete an ec2 volume
Synopsis
Arguments
site
- (string)
Site where this command will be executed
Example: --site "site-1"
Default: input.site
Attributes: optional
region
- (string)
AWS region for the service
Example: --region "region-1"
Default: _None_
Attributes: optional
volume_id
- (string)
Volume ID to be deleted
Example: "volume_id-1"
Default: _None_
Attributes: required
dryrun
- (bool)
Do a dryrun of the delete or actually delete
Example: --dryrun
Default: false
Attributes: optional
Examples
ec2 delete-volume --region "region-1" "volume_id-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "ec2" |
Service Instance | |
Namespace | |
Object Type | "instance" |
Object ID | volume_id |
Please see Access Control for details.