glamorous-kangaroo-20427
10/15/2024, 11:02 PMmicroscopic-river-74022
10/15/2024, 11:02 PMmicroscopic-river-74022
10/15/2024, 11:02 PM${local.env.<env-var-name>}
template string in your Garden configuration. This template string represents the value of the specified environment variable.
Here is an example of how you can use it:
yaml
kind: Workflow
name: my-workflow
envVars:
MY_ENV_VAR: ${local.env.MY_ENV_VAR}
In this example, MY_ENV_VAR
is the name of the local environment variable you want to expose. Replace MY_ENV_VAR
with the name of your actual environment variable.
For more details, you can refer to the Garden's documentation on Environment template context (), Provider template context (), Custom Command template context (), Workflow template context (), Action (all fields) template context (), Action spec template context (), Project Output template context (), and Module template context ().
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------microscopic-river-74022
10/15/2024, 11:02 PM