Resource: aws_redshiftserverless_snapshot

Creates a new Amazon Redshift Serverless Snapshot.

Example Usage

resource "aws_redshiftserverless_snapshot" "example" {
  namespace_name = aws_redshiftserverless_workgroup.example.namespace_name
  snapshot_name  = "example"
}

Argument Reference

This resource supports the following arguments:

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 Serverless Snapshots using the snapshot_name. For example:

import {
  to = aws_redshiftserverless_snapshot.example
  id = "example"
}

Using terraform import, import Redshift Serverless Snapshots using the snapshot_name. For example:

% terraform import aws_redshiftserverless_snapshot.example example