Open topazb opened 9 months ago
Voting for Prioritization
Volunteering to Work on This Issue
redshift-serverless RestoreFromSnapshot can only restore from snapshot to already exist namespace. So it can't create namespace. I suppose it is possible by calling the restore API after the resource is successfully created. But in that way is possibility to conflict with Provider Design Principles, isn't it?
redshift-serverless RestoreFromSnapshot can only restore from snapshot to already exist namespace. So it can't create namespace. I suppose it is possible by calling the restore API after the resource is successfully created. But in that way is possibility to conflict with Provider Design Principles, isn't it?
@noel-phelt - the RestoreFromSnapshot isn't available from the aws_redshiftserverless_namespace TF resource.
@justinretzolk any update?
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
References
https://docs.aws.amazon.com/redshift-serverless/latest/APIReference/API_RestoreFromSnapshot.html
Would you like to implement a fix?
None