dcloud ec2 volumes modifyRename a volume or grow it
IAM ec2:ModifyVolumeChanges state
A volume only grows, attached or not. Afterwards grow the filesystem on the instance (`resize2fs`, `xfs_growfs`); see the Compute guide.
Synopsis
dcloud ec2 volumes modify id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: /^vol-[0-9a-f]{6,32}$/
Flags
--nameOptionalstring
The new name
Constraints: 1-64 chars
--size-gibOptionalnumber
The new size in GiB; a volume only grows
Constraints: integer, 10-10000
Example
dcloud ec2 volumes modify idGenerated from the API description, the same one the API checks requests against and the CLI is built from.