PARALLAX

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

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
cluster_namestryes
debug_botocore_endpoint_logsboolfalse
destination_regionstryes
endpoint_urlstr
profilestr
regionstryes
secret_keystr
session_tokenstr
snapshot_copy_grantstr
snapshot_retention_periodintyes
statestrpresent
validate_certsbooltrue

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
Search
    ↑ ↓ move↵ openesc close