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.
Provenance
- Content digest
- sha256:0b48b05ad15f3e442d9d5b1852e8475fbf9389ab0ef9c422165afbc70ad9dbba
- Published
- 2026-11-10T10:17:54Z
- 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:2867d004c2200a4202f9d9768c020b7983969e5187f108746b79333ec9bce42b
Reference at this version
oci://hub.aggrega.ai/recipe/cloudformation/opensearch-service:1.0.0- Target
- —
- Implements
- core/datastore/opensearch:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| 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
No workload template declared.
Locals
| Name | Template |
|---|---|
| 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 }} |
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/opensearch: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.