Google AlloyDB

Google Cloud AlloyDB is a fully managed, high-performance PostgreSQL-compatible database service. It offers low-latency, automatic scaling, and integrates with Google Cloud’s AI/ML tools, making

Example Terraform Resource Usage


resource "apono_integration" "gcp-alloydb-integration" {
  name                     = "Google AlloyDB"
  type                     = "gcp-alloydb"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["resource-type-1", "resource-type-2"]
  metadata = {
    auth_type = "<Auth Type>"
    gcp_project_id = "<Project ID>"
    gcp_region = "<Location>"
    gcp_alloydb_cluster = "<Cluster ID>"
    gcp_instance_id = "<Primary Instance ID>"
    port = "<Port>"
    dbname = "<Database Name>"
    sslmode = "<SSL Mode>"
    credentials_rotation_period_in_days = "<Credentials rotation period (in days)>"
    credentials_cleanup_period_in_days = "<User cleanup after access is revoked (in days)>"
  }
  gcp_secret = {
    project    = "project_template_value"
    secret_id  = "gcp_secret_id_template_value"
  }
}

Schema


  • type gcp-alloydb

  • connected_resource_types List of resource types to sync. The following are the available resource type/s you can use:

    • gcp-alloydb-cluster

    • gcp-alloydb-primary-instance

    • gcp-alloydb-database

    • gcp-alloydb-table

    • gcp-alloydb-role

Metadata

  • auth_type (Required | String) Auth Type

    • Possible values: gcp-alloydb-iam-auth, user-password

  • gcp_project_id (Required | String) Project ID

  • gcp_region (Required | String) Location

  • gcp_alloydb_cluster (Required | String) Cluster ID

  • gcp_instance_id (Required | String) Primary Instance ID

  • port (Required | String) Port

    • Default value: 5432

  • dbname (Required | String) Database Name

    • Default value: postgres

  • sslmode (Optional | String) SSL Mode

    • Possible values: disable, allow, prefer, require, verify-ca, verify-full

  • credentials_rotation_period_in_days (Optional | String) Credentials rotation period (in days)

  • credentials_cleanup_period_in_days (Optional | String) User cleanup after access is revoked (in days)

Last updated