microscopic-river-74022
01/18/2024, 7:25 AMmicroscopic-river-74022
01/18/2024, 7:26 AM${runtime.services.<service-name>.outputs.<output-name>}
template string. This allows you to access the runtime outputs defined by the service.
Here is an example of how you can use it:
yaml
kind: Deploy
type: container
name: my-container
dependencies: [deploy.tf]
spec:
env:
DATABASE_URI: ${runtime.services.tf.outputs.my-database-uri}
In this example, tf
is the name of the Terraform service and my-database-uri
is the output name. This will resolve to the value of the my-database-uri
output from the Terraform service named tf
.
You can find more details in the Garden documentation ().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------