redshift_subnet_group
manage Redshift cluster subnet groups
Collection: community.aws
Full Name: community.aws.redshift_subnet_group
Synopsis
manage Redshift cluster subnet groups
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| description | str | |||
| endpoint_url | str | |||
| name | str | yes | ||
| profile | str | |||
| region | str | |||
| secret_key | str | |||
| session_token | str | |||
| state | str | present | ||
| subnets | list | |||
| validate_certs | bool | true |
Example
yaml
- name: Create a Redshift subnet group
community.aws.redshift_subnet_group:
state: present
group_name: redshift-subnet
group_description: Redshift subnet
group_subnets:
- 'subnet-aaaaa'
- 'subnet-bbbbb'
- name: Remove subnet group
community.aws.redshift_subnet_group:
state: absent
group_name: redshift-subnet