From a79386f2f5d1b38c661fbddffc1a766d2198e8e5 Mon Sep 17 00:00:00 2001 From: Jens Carl Date: Tue, 8 Nov 2016 00:59:41 -0800 Subject: [PATCH] Add support for current Redshift node types (#3328) --- lib/ansible/modules/extras/cloud/amazon/redshift.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/redshift.py b/lib/ansible/modules/extras/cloud/amazon/redshift.py index 8b4c942e4a..b67020b196 100644 --- a/lib/ansible/modules/extras/cloud/amazon/redshift.py +++ b/lib/ansible/modules/extras/cloud/amazon/redshift.py @@ -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),