Add option for specifying dc2.large as node type (#33281)

* fixes #33280

adds option for dc2.large node type

* shortens node_type choices line
This commit is contained in:
Brad Chamberlain 2017-11-26 18:42:42 -05:00 committed by Will Thames
parent 1a546711e1
commit 8bc74443ad

View file

@ -34,7 +34,8 @@ options:
node_type: node_type:
description: description:
- The node type of the cluster. Must be specified when command=create. - The node type of the cluster. Must be specified when command=create.
choices: ['ds1.xlarge', 'ds1.8xlarge', 'ds2.xlarge', 'ds2.8xlarge', 'dc1.large', 'dc1.8xlarge', 'dw1.xlarge', 'dw1.8xlarge', 'dw2.large', 'dw2.8xlarge'] choices: ['ds1.xlarge', 'ds1.8xlarge', 'ds2.xlarge', 'ds2.8xlarge', 'dc1.large', 'dc2.large', 'dc1.8xlarge', 'dw1.xlarge',
'dw1.8xlarge', 'dw2.large', 'dw2.8xlarge']
username: username:
description: description:
- Master database username. Used only when command=create. - Master database username. Used only when command=create.
@ -434,8 +435,9 @@ def main():
argument_spec.update(dict( argument_spec.update(dict(
command = dict(choices=['create', 'facts', 'delete', 'modify'], required=True), command = dict(choices=['create', 'facts', 'delete', 'modify'], required=True),
identifier = dict(required=True), identifier = dict(required=True),
node_type = dict(choices=['ds1.xlarge', 'ds1.8xlarge', 'ds2.xlarge', 'ds2.8xlarge', 'dc1.large', 'dc1.8xlarge', node_type = dict(choices=['ds1.xlarge', 'ds1.8xlarge', 'ds2.xlarge', 'ds2.8xlarge', 'dc1.large',
'dw1.xlarge', 'dw1.8xlarge', 'dw2.large', 'dw2.8xlarge'], required=False), 'dc2.large','dc1.8xlarge', 'dw1.xlarge', 'dw1.8xlarge', 'dw2.large',
'dw2.8xlarge'], required=False),
username = dict(required=False), username = dict(required=False),
password = dict(no_log=True, required=False), password = dict(no_log=True, required=False),
db_name = dict(require=False), db_name = dict(require=False),