hashicorp/terraform-provider-aws

aws_redshiftserverless_namespace restore from snapshot

Aberta

#35.138 aberto em 4 de jan. de 2024

 (5 comentários) (6 reações) (0 responsável)Go (10.312 forks)github user discovery
enhancementgood first issueservice/redshiftserverless

Métricas do repositório

Stars
 (11.045 estrelas)
Métricas de merge de PR
 (Mesclagem média 19d 21h) (251 fundiu PRs em 30d)

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

Guia do colaborador