本頁面由機器翻譯。閱讀英文原文。

FeatureRecipe

random-password

Terraform realization of core/random-password through the random provider's random_password resource. The attachment renders a module of its own holding one random_password resource and one output, named values.key and marked sensitive, that carries the password out of the module; Terraform draws the password when the configuration is applied, so the rendered configuration carries no value. The value is kept in the Terraform plan and state, so the state is where it must be protected. The published provides are the attachment's module call and the output holding the password, which a consumer joins with a dot and wraps in an interpolation — for example ${module.db--password.value}. The reference resolves in the boundary's root configuration, so the consuming Recipe is a source: Recipe, whose valuesMapping becomes its module's arguments there; a Recipe that authors its own body cannot reach it, and for a host composed in from another Aggregate Terraform refuses the reference at plan time. The password holds at least one upper-case letter, one lower-case letter and one digit, and one punctuation character while values.symbols is on, as Secrets Manager draws for the cloudformation realization by default, so with values.symbols on a service requiring every character class accepts it. It is drawn once and kept in state; a change to values.length or values.symbols draws a new one. The name random-password is shared with the cloudformation realization, so a Manifest references this one as terraform/random-password:1.0.0; a bare random-password:1.0.0 matches more than one and resolves to none, and the pull halts on it.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:069dff2ba5c3cea9af535c264b75ebfd98ccd6d3c0ff8f5ccb80c346de32d89d
發布時間
2026-11-10T10:16:48Z
簽署身分
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:f95ff469d7d43704dc5dc7cf151963687b18e0eaaf89cd246c4658773e5316a9

此版本的參照

oci://hub.aggrega.ai/featurerecipe/terraform/random-password:1.0.0
目標
—
實作
core/random-password:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
namemodule.{{ .context.instance_id }}--{{ .attachment_name }}
key{{ .values.key }}

Workload

未宣告任何工作負載範本。

Locals

名稱範本
resource_name{{ default (printf "%s_%s" .context.instance_id .attachment_name) .values.name | replace "." "_" }}

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/random-password:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

FeatureRecipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權