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
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| name | module.{{ .context.instance_id }}--{{ .attachment_name }} |
| key | {{ .values.key }} |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| resource_name | {{ default (printf "%s_%s" .context.instance_id .attachment_name) .values.name | replace "." "_" }} |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/random-password:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。