hashicorp/terraform-provider-aws

aws_redshiftserverless_namespace restore from snapshot

Aperta

#35.138 aperta il 4 gen 2024

 (5 commenti) (6 reazioni) (0 assegnatari)Go (10.312 fork)github user discovery
enhancementgood first issueservice/redshiftserverless

Metriche repository

Star
 (11.045 stelle)
Metriche merge PR
 (Merge medio 19g 21h) (251 PR mergiate in 30 g)

Descrizione

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

Guida contributor