Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can create global cluster from snapshot #11

Open
nallamr opened this issue Jun 30, 2022 · 2 comments
Open

Can create global cluster from snapshot #11

nallamr opened this issue Jun 30, 2022 · 2 comments

Comments

@nallamr
Copy link

nallamr commented Jun 30, 2022

Hello Team,

We are trying to create global postgres DB from snapshot. It is working fine for single region cluster but it is failing when creating secondary cluster. Clusters created as regional clusters and not added to global cluster

@radunicolae
Copy link

@nallamr did you find a solution ? I am facing the same issue, it is not possible to restore a global cluster from a snapshot

@Luis-3M
Copy link

Luis-3M commented Mar 17, 2023

Issue is related to the fact that if you specify the snapshot identifier of the cluster to be restored from, then the aws_rds_global_cluster resource engine must be omitted and you should use source_db_cluster_identifier instead, which links the restored cluster to the global database.

Source: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_global_cluster#new-global-cluster-from-existing-db-cluster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants