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:
- The node type of the cluster. Must be specified when command=create.
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:
description:
- Master database username. Used only when command=create.
@ -160,7 +160,7 @@ EXAMPLES = '''
# Basic cluster provisioning example
- redshift: >
command=create
node_type=dw1.xlarge
node_type=ds1.xlarge
identifier=new_cluster
username=cluster_admin
password=1nsecure
@ -430,7 +430,7 @@ def main():
argument_spec.update(dict(
command = dict(choices=['create', 'facts', 'delete', 'modify'], 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),
password = dict(no_log=True, required=False),
db_name = dict(require=False),