Skip to content

Commit

Permalink
docs: Add snapshot_copy
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Nov 9, 2017
1 parent c434bf2 commit 9f9c6bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions website/docs/r/redshift_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ string.
* `owner_account` - (Optional) The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot.
* `iam_roles` - (Optional) A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time.
* `logging` - (Optional) Logging, documented below.
* `snapshot_copy` - (Optional) Configuration of automatic copy of snapshots from one region to another. Documented below.
* `tags` - (Optional) A mapping of tags to assign to the resource.

### Nested Blocks
Expand All @@ -79,6 +80,12 @@ string.
For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging)
* `s3_key_prefix` - (Optional) The prefix applied to the log file names.

#### `snapshot_copy`

* `destination_region` - (Required) The destination region that you want to copy snapshots to.
* `retention_period` - (Optional) The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to `7`.
* `grant_name` - (Optional) The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.

## Attributes Reference

The following attributes are exported:
Expand Down

0 comments on commit 9f9c6bc

Please sign in to comment.