redshift_cross_region_snapshots
Configure cross-region snapshot copying for Amazon Redshift clusters
Collection: community.aws
Full Name: community.aws.redshift_cross_region_snapshots
Synopsis
Configure cross-region snapshot copying for Amazon Redshift clusters
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| cluster_name | str | yes | ||
| debug_botocore_endpoint_logs | bool | false | ||
| destination_region | str | yes | ||
| endpoint_url | str | |||
| profile | str | |||
| region | str | yes | ||
| secret_key | str | |||
| session_token | str | |||
| snapshot_copy_grant | str | |||
| snapshot_retention_period | int | yes | ||
| state | str | present | ||
| validate_certs | bool | true |
Example
yaml
- name: configure cross-region snapshot on cluster `johniscool`
community.aws.redshift_cross_region_snapshots:
cluster_name: johniscool
state: present
region: us-east-1
destination_region: us-west-2
retention_period: 1
- name: configure cross-region snapshot on kms-encrypted cluster
community.aws.redshift_cross_region_snapshots:
cluster_name: whatever
state: present
region: us-east-1
destination: us-west-2
copy_grant: 'my-grant-in-destination'
retention_period: 10
- name: disable cross-region snapshots, necessary before most cluster modifications (rename, resize)
community.aws.redshift_cross_region_snapshots:
cluster_name: whatever
state: absent
region: us-east-1
destination_region: us-west-2