Add new Amazon EBS volume types. Fixes issue 4041 of ansible-modules-core
This commit is contained in:
parent
0b8aada1bc
commit
66ced41485
1 changed files with 2 additions and 3 deletions
|
@ -50,8 +50,7 @@ options:
|
||||||
default: null
|
default: null
|
||||||
volume_type:
|
volume_type:
|
||||||
description:
|
description:
|
||||||
- Type of EBS volume; standard (magnetic), gp2 (SSD), io1 (Provisioned IOPS). "Standard" is the old EBS default
|
- Type of EBS volume; standard (magnetic), gp2 (SSD), io1 (Provisioned IOPS), st1 (Throughput Optimized HDD), sc1 (Cold HDD). "Standard" is the old EBS default and continues to remain the Ansible default for backwards compatibility.
|
||||||
and continues to remain the Ansible default for backwards compatibility.
|
|
||||||
required: false
|
required: false
|
||||||
default: standard
|
default: standard
|
||||||
version_added: "1.9"
|
version_added: "1.9"
|
||||||
|
@ -484,7 +483,7 @@ def main():
|
||||||
id = dict(),
|
id = dict(),
|
||||||
name = dict(),
|
name = dict(),
|
||||||
volume_size = dict(),
|
volume_size = dict(),
|
||||||
volume_type = dict(choices=['standard', 'gp2', 'io1'], default='standard'),
|
volume_type = dict(choices=['standard', 'gp2', 'io1', 'st1', 'sc1'], default='standard'),
|
||||||
iops = dict(),
|
iops = dict(),
|
||||||
encrypted = dict(type='bool', default=False),
|
encrypted = dict(type='bool', default=False),
|
||||||
device_name = dict(),
|
device_name = dict(),
|
||||||
|
|
Loading…
Reference in a new issue