Skip to content

Add support for databaseReplicationEnabled in SQLInstance #5737

@PurseChicken

Description

@PurseChicken

Checklist

  • I did not find a related open enhancement request.
  • I understand that enhancement requests filed in the GitHub repository are by default low priority.
  • If this request is time-sensitive, I have submitted a corresponding issue with GCP support.

Describe the feature or resource

It would be great if the SQLInstance resource supported configuring databaseReplicationEnabled (boolean).

Additional information

The REST spec for SQLInstance has the option to turn replication on or off (read replica instance) via the databaseReplicationEnabled setting:
https://docs.cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#settings

That said, this does not appear to be a part of the SQLInstance resource spec:
https://docs.cloud.google.com/config-connector/docs/reference/resource-docs/sql/sqlinstance

Importance

This would be helpful in instances where you have the need to turn replication off. Maintenance, upgrades etc. Without this, it must be done manually using the console (WebUI).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions