How to pass Variables in Monaco Config Yaml files? #398
-
Topic: I have been going through a couple of discussions in the forum to find a fairly simple solution for updating config files. Requirement: config: customer-a: customer-b: config: {{configNameVariable}}: Solutions till now:
Any ideas or use cases or workaround or links are appreciated? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is resolved and can be closed. Closing this Question thread as it's Resolved for me. |
Beta Was this translation helpful? Give feedback.
This is resolved and can be closed.
Apparently, this feature is in NEW_CLI and can pass environment var as {{ .Env.configNameVariable }} in YAML as well.
Here Environment Variable is configNameVariable
https://dynatrace-oss.github.io/dynatrace-monitoring-as-code/configuration/yaml_confg#templating-of-environment-variables
Closing this Question thread as it's Resolved for me.