Skip to content

Commit

Permalink
Update ec2_vol.py
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed May 26, 2021
1 parent ae487ce commit 77a60f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plugins/modules/ec2_vol.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
description:
- If set to C(yes), Multi-Attach will be enabled when creating the volume.
- When you create a new volume, Multi-Attach is disabled by default.
- This parameter is supported with io1 and io2 volumes only.
type: bool
version_added: 2.0.0
author: "Lester Wade (@lwade)"
Expand Down Expand Up @@ -198,10 +199,11 @@
# Create new volume with multi-attach enabled
- amazon.aws.ec2_vol:
instance: XXXXXX
volume_size: 50
device_name: sdd
zone: XXXXXX
multi_attach: true
volume_size: 4
volume_type: io1
iops: 102
# Attach an existing volume to instance. The volume will be deleted upon instance termination.
- amazon.aws.ec2_vol:
Expand Down

0 comments on commit 77a60f1

Please sign in to comment.