https://garden.io logo
#🌱|help-and-getting-started
Nested variables with cli flags and varfiles
i

icy-furniture-17516

07/04/2023, 7:53 AM
Let's say I have a project level variable structure:
Copy code
component:
  variable: X
How can I override these variables from the cli flag (
--var
) or from .env varfiles? I tried
--var=component.variable=Z
but that didn't work.
c

calm-family-29323

07/04/2023, 7:55 AM
As of now it's unsupported, but we have an open feature request https://github.com/garden-io/garden/issues/3873
i

icy-furniture-17516

07/04/2023, 8:00 AM
I did not realize I can have yaml varfiles as well, at least we can use that, thanks
4 Views