1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add support for current Redshift node types (#3328)

This commit is contained in:
Jens Carl 2016-11-08 00:59:41 -08:00 committed by Matt Clay
parent 687aaa197b
commit a79386f2f5

View file

@ -38,7 +38,7 @@ options:
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.
required: false required: false
choices: ['dw1.xlarge', 'dw1.8xlarge', 'dw2.large', 'dw2.8xlarge', ] choices: ['ds1.xlarge', 'ds1.8xlarge', 'ds2.xlarge', 'ds2.8xlarge', 'dc1.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.
@ -160,7 +160,7 @@ EXAMPLES = '''
# Basic cluster provisioning example # Basic cluster provisioning example
- redshift: > - redshift: >
command=create command=create
node_type=dw1.xlarge node_type=ds1.xlarge
identifier=new_cluster identifier=new_cluster
username=cluster_admin username=cluster_admin
password=1nsecure password=1nsecure
@ -430,7 +430,7 @@ 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=['dw1.xlarge', 'dw1.8xlarge', 'dw2.large', 'dw2.8xlarge', ], required=False), node_type = dict(choices=['ds1.xlarge', 'ds1.8xlarge', 'ds2.xlarge', 'ds2.8xlarge', 'dc1.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),