Skip to content

Commit

Permalink
Fix output object name (value -> result)
Browse files Browse the repository at this point in the history
  • Loading branch information
kachawla authored Jul 31, 2023
1 parent d617e73 commit a4ea83e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/content/operations/custom-recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,22 @@ You can also manually link resources via the `values` output of a Recipe. This c
```bicep
// ....resources defined above
output values object = {
output result object = {
resources: [
// ID via reference (Azure/AWS)
resource1.id
// ID via manual entry (Kubernetes)
'/planes/kubernetes/local/namespaces/${deployment.metadata.namespace}/providers/apps/Deployment/${deployment.metadata.name}'
]
values: {
host: azureCache.properties.hostName
port: azureCache.properties.port
}
secrets: {
connectionString: 'redis://${azureCache.properties.hostName}:${azureCache.properties.port}'
#disable-next-line outputs-should-not-contain-secrets
password: azureCache.listKeys().primaryKey
}
}
```

Expand Down

0 comments on commit a4ea83e

Please sign in to comment.