이 페이지는 기계 번역되었습니다. 영어 원문 읽기.

Recipe

mysql-cloud-sql

MySQL on Google Cloud SQL, as one instance with a private IP address in the operator's VPC network, realized by the mysql 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; reach for the terraform/mysql-rds Recipes on AWS, and for the helm or compose Recipes where MySQL 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. Binary logging, its point-in-time recovery, is on, as high availability and read replicas need, unless the core/backup attachment sets infra.point_in_time_recovery to false, which halts beside either. Cloud SQL creates root with no password, so root_password must be the core/random-password attachment, handed over as a Terraform reference; the user values.user names, where set, logs in with the attachment on user_password, or a password the module draws. 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 3306, the one port the service serves. 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.

출처

공식이 카탈로그가 공식 게시자로 인정하는 서명 ID로 서명되었습니다.
콘텐츠 다이제스트
sha256:7c489826a6cd950eb2b48ef54a72596a7d3a3712953bc449c53b1904b74750bf
게시일
2026-11-10T10:28:29Z
서명 ID
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

서명

  • 공식application/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:b44bc6843f43bec8cb1d9722df02df494166cd99ec4e99554879b0a2c1fffa0d

이 버전의 참조

oci://hub.aggrega.ai/recipe/terraform/mysql-cloud-sql:1.0.0
대상
—
구현 대상
core/datastore/mysql:1.0.0

제공

이 레시피가 소비자를 위해 배선하는 결정적 포인터 템플릿입니다.

이름템플릿
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.private_ip_address}{{ end }}
port3306
user{{ default "root" .locals.app_user }}
database{{ .values.database }}
protocolmysql

Workload

선언된 워크로드 템플릿이 없습니다.

로컬 변수

이름템플릿
major{{ $p := regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }}{{ replace "." "_" $p }}
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" "") }}
app_user{{ optional .values "user" "" }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}
native_backupCloud SQL automated backups

값 매핑

선언된 값 매핑이 없습니다.

관계

게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.

사용함

  • 구현구현계약 호환

    core/datastore/mysql:1.0.0

    모든 필수 출력이 충족되며, 제공되는 모든 출력이 계약에 명시되어 있습니다.

사용됨

카탈로그에서 이 엔터티에 의존하는 것이 없습니다.

Recipe 개념 레퍼런스 →

Aggrega 카탈로그 — 컴포넌트, 기능, 레시피, 그리고 이를 렌더링하는 플러그인의 공개 인덱스입니다.

공유 Aggrega 디자인 시스템으로 구축되었습니다.

개인정보 보호