Recipe
opensearch-service
OpenSearch on Amazon OpenSearch Service, rendered as a CloudFormation fragment: one AWS::OpenSearchService::Domain of one data node in the operator's VPC. The cloudformation provider stamps the stack envelope and projects this Recipe's provides into the stack Outputs. Reach for this realization where the search engine is an OpenSearch Service domain in a CloudFormation stack; reach for terraform/opensearch-service on terraform, and helm/opensearch-chart or compose/opensearch where it runs as a container. The domain serves HTTPS alone on 443, with fine-grained access control and one account, admin, whose password is the secret core/random-password creates in the stack, handed over as a Secrets Manager dynamic reference, so the rendered template carries none; with no password attached, or another credential, the build halts naming the slot. The attachment must set values.symbols true, so the password holds every character class. host publishes a reference to the domain's endpoint, port 443, protocol https, endpoint https://<host> and user admin. infra.overrides.host publishes the operator's DNS name instead and names the domain's custom endpoint, presenting the certificate infra.overrides.CustomEndpointCertificateArn names, so a client checking the certificate reaches the domain by it; either key alone halts, as does a name the endpoint cannot take, such as an IP literal. infra.overrides.SubnetIds is required. infra.engine_version must name a version the service offers and infra.storage.size 10Gi or more, so both Component defaults halt here; an infra.port other than 9200 halts, and so do an io1 volume and any instance or volume type the service cannot serve this domain on.
来源
- 内容摘要
- sha256:0b48b05ad15f3e442d9d5b1852e8475fbf9389ab0ef9c422165afbc70ad9dbba
- 发布时间
- 2026-11-10T10:17:54Z
- 签名身份
- 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:2867d004c2200a4202f9d9768c020b7983969e5187f108746b79333ec9bce42b
此版本的引用
oci://hub.aggrega.ai/recipe/cloudformation/opensearch-service:1.0.0- 目标
- —
- 实现
- core/datastore/opensearch:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!GetAtt {{ .locals.logical_id }}.DomainEndpoint{{ end }} |
| port | 443 |
| user | admin |
| protocol | https |
| endpoint | {{ if .locals.operator_host }}https://{{ .locals.operator_host }}{{ else }}!Sub https://${ {{- .locals.logical_id }}.DomainEndpoint}{{ end }} |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| engine_version | {{ regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version) }} |
| instance_type | {{ optional (optional .infra "overrides" dict) "InstanceType" "m7g.medium.search" }} |
| instance_family | {{ index (splitList "." .locals.instance_type) 0 }} |
| volume_type | {{ default "gp3" (optional .infra.storage "type" "") }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| certificate_arn | {{ $c := optional (optional .infra "overrides" dict) "CustomEndpointCertificateArn" "" }}{{ if typeIs "string" $c }}{{ $c }}{{ end }} |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/datastore/opensearch:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。