redshift
create, delete, or modify an Amazon Redshift instance
Collection: community.aws
Full Name: community.aws.redshift
Synopsis
create, delete, or modify an Amazon Redshift instance
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| allow_version_upgrade | bool | true | ||
| automated_snapshot_retention_period | int | |||
| availability_zone | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| cluster_parameter_group_name | str | |||
| cluster_security_groups | list | |||
| cluster_subnet_group_name | str | |||
| cluster_type | str | single-node | ||
| cluster_version | str | |||
| command | str | yes | ||
| db_name | str | |||
| debug_botocore_endpoint_logs | bool | false | ||
| elastic_ip | str | |||
| encrypted | bool | false | ||
| endpoint_url | str | |||
| enhanced_vpc_routing | bool | false | ||
| final_cluster_snapshot_identifier | str | |||
| identifier | str | yes | ||
| new_cluster_identifier | str | |||
| node_type | str | |||
| number_of_nodes | int | |||
| password | str | |||
| port | int | |||
| preferred_maintenance_window | str | |||
| profile | str | |||
| publicly_accessible | bool | false | ||
| purge_tags | bool | true | ||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| skip_final_cluster_snapshot | bool | false | ||
| tags | dict | |||
| username | str | |||
| validate_certs | bool | true | ||
| vpc_security_group_ids | list | |||
| wait | bool | false | ||
| wait_timeout | int | 300 |
Example
yaml
- name: Basic cluster provisioning example
community.aws.redshift:
command: create
node_type: ds1.xlarge
identifier: new_cluster
username: cluster_admin
password: 1nsecure
- name: Cluster delete example
community.aws.redshift:
command: delete
identifier: new_cluster
skip_final_cluster_snapshot: true
wait: true