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

Feature request: icd_database PostgreSQL instance as read-only replica #960

Closed
tpolekhin opened this issue Dec 18, 2019 · 5 comments
Closed
Assignees

Comments

@tpolekhin
Copy link

Add support to provision Databases-for-PostgreSQL read-only replica instance using icd_database terraform resource.
Currently available only with ibm_resource_instance with parameters block:

resource "ibm_resource_instance" "psql-read-replica" {
  name = "read-only-replica"
  location = "us-south"
  service = "databases-for-postgresql"
  plan = "standard"
  resource_group_id = "<resource-group-id>"

  parameters = {
    remote_leader_id = "<psql-leader-instance-id>"
  }
}
@VaishnaviGopal VaishnaviGopal self-assigned this Jan 21, 2020
@VaishnaviGopal
Copy link
Collaborator

Hi @tomwganem , if available, can you share any docs about this parameter remote_leader_id? and please share If there is any working example with this parameter.

@allen-servedio
Copy link

@VaishnaviGopal - not sure if this is what you were looking for, but there is this: https://cloud.ibm.com/docs/services/databases-for-postgresql?topic=databases-for-postgresql-read-only-replicas

@tomwganem
Copy link
Contributor

Hi @tomwganem , if available, can you share any docs about this parameter remote_leader_id? and please share If there is any working example with this parameter.

@VaishnaviGopal I'm assuming you didn't mean to tag me, yeah?

@VaishnaviGopal
Copy link
Collaborator

Hi @tomwganem , if available, can you share any docs about this parameter remote_leader_id? and please share If there is any working example with this parameter.

@VaishnaviGopal I'm assuming you didn't mean to tag me, yeah?

yeah.. i am sorry

@allen-servedio
Copy link

So @VaishnaviGopal - was that the documentation you were looking for (https://cloud.ibm.com/docs/services/databases-for-postgresql?topic=databases-for-postgresql-read-only-replicas) - or were you looking for something else?

VaishnaviGopal added a commit to VaishnaviGopal/terraform-provider-ibm that referenced this issue Jan 28, 2020
VaishnaviGopal added a commit to VaishnaviGopal/terraform-provider-ibm that referenced this issue Jan 28, 2020
hkantare pushed a commit that referenced this issue Jan 28, 2020
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

4 participants