-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Description
Name of the resource
AWS::RedshiftServerless::Namespace
Resource name
No response
Description
Summary
AWS::RedshiftServerless::Namespace currently does not support snapshot restore functionality via CloudFormation, forcing users to rely on manual AWS CLI operations for disaster recovery and environment promotion scenarios.
Service
Amazon Redshift Serverless
Resource Type
AWS::RedshiftServerless::Namespace
Current Limitation
The AWS::RedshiftServerless::Namespace
resource type lacks properties to restore from existing snapshots. Currently, only new namespace creation is supported.
Requested Properties
Add the following properties to AWS::RedshiftServerless::Namespace
:
SnapshotName
(String, Optional) - Name of the snapshot to restore from (same account)SnapshotArn
(String, Optional) - Full ARN of the snapshot to restore from (cross-account support)
When either property is specified:
DbName
,AdminUsername
, andAdminUserPassword
should be optional/ignored (restored from snapshot)- The namespace should be created from the specified snapshot instead of as a new empty namespace
Use Cases
- Disaster Recovery: Restore production data to a new environment from snapshots
- Environment Promotion: Copy data from prod to staging/dev environments
- Cross-Account Data Sharing: Restore snapshots shared from other AWS accounts
- Infrastructure as Code: Manage complete Redshift Serverless lifecycle via CloudFormation
Current Workaround
Manual AWS CLI operations:
aws redshift-serverless restore-from-snapshot \
--namespace-name "my-namespace" \
--snapshot-arn "arn:aws:redshift-serverless:us-east-1:123456789012:snapshot/snapshot-id"
### Other Details
_No response_
rgoltz