Skip to main content

Detach volume

Detach a volume from its instance. Unmount it on the instance first; force only for a volume that will not detach.

Command in the AWS EC2 toolkit · id ooa.aws_ec2/detach_volume · 3 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoec2Name of the session opened by Connect.
Volume IDStringYesId of the volume to detach.
ForceBooleanNofalseForce the detach; data not yet written can be lost, so use it only when a normal detach hangs.

Outputs​

OutputTypeWhat it is
stateStringAttachment state, usually detaching.