Resource: aws_redshift_snapshot_copy

Terraform resource for managing an AWS Redshift Snapshot Copy.

Example Usage

Basic Usage

resource "aws_redshift_snapshot_copy" "example" {
  cluster_identifier = aws_redshift_cluster.example.id
  destination_region = "us-east-1"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Redshift Snapshot Copy using the id. For example:

import {
  to = aws_redshift_snapshot_copy.example
  id = "cluster-id-12345678"
}

Using terraform import, import Redshift Snapshot Copy using the id. For example:

% terraform import aws_redshift_snapshot_copy.example cluster-id-12345678