mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ec2_ami_search: new EBS types
In ec2_ami_search module, add support for the new SSD-backed EBS (ebs-ssd) volume as well as support for provisioned IOPS (ebs-io1).
This commit is contained in:
parent
14cf3c4d2a
commit
7413e501a1
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ options:
|
||||||
description: Back-end store for instance
|
description: Back-end store for instance
|
||||||
required: false
|
required: false
|
||||||
default: "ebs"
|
default: "ebs"
|
||||||
choices: ["ebs", "instance-store"]
|
choices: ["ebs", "ebs-io1", "ebs-ssd", "instance-store"]
|
||||||
arch:
|
arch:
|
||||||
description: CPU architecture
|
description: CPU architecture
|
||||||
required: false
|
required: false
|
||||||
|
@ -135,7 +135,7 @@ def lookup_ubuntu_ami(table, release, stream, store, arch, region, virt):
|
||||||
(release, stream, tag, serial, region, ami, aki, ari, virt)
|
(release, stream, tag, serial, region, ami, aki, ari, virt)
|
||||||
release: ubuntu release name
|
release: ubuntu release name
|
||||||
stream: 'server' or 'desktop'
|
stream: 'server' or 'desktop'
|
||||||
store: 'ebs' or 'instance-store'
|
store: 'ebs', 'ebs-io1', 'ebs-ssd' or 'instance-store'
|
||||||
arch: 'i386' or 'amd64'
|
arch: 'i386' or 'amd64'
|
||||||
region: EC2 region
|
region: EC2 region
|
||||||
virt: 'paravirtual' or 'hvm'
|
virt: 'paravirtual' or 'hvm'
|
||||||
|
@ -172,7 +172,7 @@ def main():
|
||||||
stream=dict(required=False, default='server',
|
stream=dict(required=False, default='server',
|
||||||
choices=['desktop', 'server']),
|
choices=['desktop', 'server']),
|
||||||
store=dict(required=False, default='ebs',
|
store=dict(required=False, default='ebs',
|
||||||
choices=['ebs', 'instance-store']),
|
choices=['ebs', 'ebs-io1', 'ebs-ssd', 'instance-store']),
|
||||||
arch=dict(required=False, default='amd64',
|
arch=dict(required=False, default='amd64',
|
||||||
choices=['i386', 'amd64']),
|
choices=['i386', 'amd64']),
|
||||||
region=dict(required=False, default='us-east-1', choices=AWS_REGIONS),
|
region=dict(required=False, default='us-east-1', choices=AWS_REGIONS),
|
||||||
|
|
Loading…
Reference in a new issue