Esta página se tradujo automáticamente. Leer el original en inglés.

Recipe

postgres-cloud-sql

PostgreSQL on Google Cloud SQL, as one instance with a private IP address in the operator's VPC network, realized by the postgresql module of the terraform-google-modules project's published Cloud SQL module, terraform-google-modules/sql-db/google at v28.3.0, Apache-2.0, fetched from its git repository at that tag; entity.lock pins the tag's commit and archive digest. Reach for it where the database is a Cloud SQL instance in the operator's Google Cloud project, reached over a VPC network that already has private services access to Cloud SQL; on AWS, reach for the terraform/postgres-rds Recipes, and for the helm or compose Recipes where PostgreSQL runs as a container. The project, region and network are the operator's, named in infra.overrides.project_id, region and private_network, and the Recipe emits none of them. The instance gets no public address. Point-in-time recovery is on, as Cloud SQL's high availability needs, unless the core/backup attachment sets infra.point_in_time_recovery to false, which halts beside infra.ha.enabled. The user values.user names logs in with the core/random-password attachment on the password slot, handed over as a Terraform reference, or, with none attached, a password the module draws; either way the rendered files carry no password, and another credential halts naming the slot. host publishes a reference to the instance's private address, or the DNS name in infra.overrides.host; port is 5432, the one port the service serves. An encoding or locale the service cannot set, init scripts, a raw configuration file and another infra.port halt naming the key; compute.cpu and compute.memory are not read, because infra.overrides.tier sizes the instance.

Procedencia

OficialFirmado por una identidad de firma que este catálogo reconoce como editor oficial.
Digest del contenido
sha256:c9d3dd24b606e80e399802755b779ac183ede802376675979175645f6351df7b
Publicado
2026-11-10T10:28:37Z
Identidad de firma
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Firma

  • Oficialapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:390c657b527afd6da69e2a91d6831841fba780b04b9827c804e4b0c3ae32f8b0

Referencia en esta versión

oci://hub.aggrega.ai/recipe/terraform/postgres-cloud-sql:1.0.0
Destino
—
Implementa
core/datastore/postgres:1.0.0

Proporciona

Plantillas de punteros deterministas que esta receta cablea para los consumidores.

NombrePlantilla
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.private_ip_address}{{ end }}
port5432
user{{ .values.user }}
database{{ .values.database }}
protocolpostgres
metrics_pod_selector
metrics_pod_port
metrics_path

Workload

No se declaró ninguna plantilla de carga de trabajo.

Variables locales

NombrePlantilla
major{{ $v := toString .infra.engine_version }}{{ if regexMatch `^9\.6(\.|$)` $v }}9_6{{ else }}{{ regexFind `^[0-9]+` $v }}{{ end }}
edition{{ optional (optional .infra "overrides" dict) "edition" "ENTERPRISE" }}
tier{{ optional (optional .infra "overrides" dict) "tier" "db-custom-1-3840" }}
disk_type{{ default "PD_SSD" (optional .infra.storage "type" "") }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}
native_backupCloud SQL automated backups

Mapeo de valores

No se declaró ningún mapeo de valores.

Relaciones

Aristas tipadas hacia y desde otras entidades publicadas. Una referencia sin un destino publicado se muestra como una arista rota en lugar de como un enlace.

Usa

  • implementaimplementacontrato compatible

    core/datastore/postgres:1.0.0

    Todas las salidas obligatorias se satisfacen y cada salida proporcionada está nombrada en el contrato.

Usado por

Nada en el catálogo depende de esta entidad.

Referencia del concepto Recipe →

El catálogo de Aggrega — un índice abierto de componentes, funcionalidades, recetas y los plugins que los renderizan.

Creado con el sistema de diseño compartido de Aggrega.

Privacidad