hashicorp/terraform-provider-aws

aws_redshiftserverless_namespace restore from snapshot

Open

#35,138 opened on Jan 4, 2024

 (5 comments) (6 reactions) (0 assignees)Go (10,310 forks)github user discovery
enhancementgood first issueservice/redshiftserverless

Repository metrics

Stars
 (11,045 stars)
PR merge metrics
 (PR metrics pending)

Description

Description

aws_redshiftserverless_namespace resource should have the ability to be created from a snapshot (same as aws_redshift_cluster): snapshot_arn - (Optional) The ARN of the snapshot from which to create the new cluster. Conflicts with snapshot_identifier. snapshot_identifier - (Optional) The name of the snapshot from which to create the new cluster. Conflicts with snapshot_arn.

This is available from AWS console or API

Affected Resource(s) and/or Data Source(s)

aws_redshiftserverless_namespace

Potential Terraform Configuration

resource "aws_redshiftserverless_namespace" "example" {
  namespace_name = "concurrency-scaling"
  snapshot_arn   =  "arn:aws:redshift-serverless:us-east-1:123456789012:snapshot/12345678-1234-1234-1234-123456789012"
}

References

https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_RestoreFromSnapshot.html

Would you like to implement a fix?

None

Contributor guide