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:
parent
1a546711e1
commit
8bc74443ad
1 changed files with 5 additions and 3 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue