Recipe

mariadb-rds

MariaDB via AWS RDS, rendered as a Terraform HCL body. Authored as a full-body artifact named main.tf that emits verbatim as a standalone file alongside any other artifacts contributed at the same boundary. host publishes a Terraform reference to the instance's hostname, an output of this component's module, and port publishes the port infra.port configures. The reference resolves only for a consumer authored as a source: Recipe in the same Terraform root configuration; a consumer on another target receives it as text. It names this component's module, so it resolves only where the Aggregate the Release deploys declares this component, not where it is composed in from another Aggregate. Set infra.overrides.host in the Release to the DNS name or IP literal the instance is reached at, and host publishes that name instead, which a consumer on any target can use. Pointing that name at the instance is the operator's. Reach for this realization where nothing may be fetched or where the instance needs read replicas; reach for terraform/mariadb-rds-terraform-aws-modules, the terraform-aws-modules project's published RDS module, where the pull may fetch it from its git repository. RDS owns the master password, in AWS Secrets Manager: root_password takes core/generated-secret, and any other credential there or on user_password halts the build. A value RDS cannot apply — an application user, init scripts, a raw configuration file — halts the build naming the key; compute.cpu, compute.memory, charset and collation are not read. Point-in-time recovery comes with the automated backups, so infra.point_in_time_recovery: false on core/backup halts by name.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:11807f973f03019b30dd2c1f8b028e5bd8346e037220ec2958420d7b2872d661
Published
2026-11-10T10:28:25Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/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:54a16edc547bd40de84cec4e39c7fa2a428c04226f724087fa81388c9c013076

Reference at this version

oci://hub.aggrega.ai/recipe/terraform/mariadb-rds:1.0.0
Target
—
Implements
core/datastore/mariadb:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

NameTemplate
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.address}{{ end }}
port{{ .infra.port }}
useradmin
database{{ .values.database }}
protocolmariadb

Workload

No workload template declared.

Locals

NameTemplate
db_identifier{{ .context.instance_id }}
native_backupAmazon RDS automated backups
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

  • implementsimplementscontract compatible

    core/datastore/mariadb:1.0.0

    All required outputs are satisfied and every provided output is named in the contract.

Used by

Nothing in the catalog depends on this entity.

Recipe concept reference →

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy