Postgres database replica set up #638
Unanswered
nicolasdalbroi
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Replicas are a sub-resource of the database cluster. With
To import a replica into Terraform, you need to provide the ID of the parent database cluster and the name of the replica joined with a comma. E.g.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I understand, but when I import the project I get the replica urn, but when I try to update it the urn argument it's not valid. Should I use the id to import the replica into the project? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm experiencing some issues trying to figure out how to import the database replica to terraform.
When I get the database information with doctl databases list it show all the database except for the databases' replicas. The thing is that when I import the project along with all the resources assigned to it, it shows the replica as a cluster and not a replica.
Should I import the resource as a replica cluster like it should be or as a cluster?
Beta Was this translation helpful? Give feedback.
All reactions