what is the replacement variable for ${runtime.ser...
# 🤖|ask-kapa
m
Please stand by @many-pizza-75746 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- For Terraform outputs in Garden, you can use the
${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:
Copy code
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: ----------------------
3 Views