Closed kinseii closed 3 months ago
What would you like to add If I try to use a variable as {{ .variables.network.dev }}, cdev gives an error: [FATAL] Fatal error: load project configuration: prepare objects: template: main:9: bad character U+002D '-'
{{ .variables.network.dev }}
[FATAL] Fatal error: load project configuration: prepare objects: template: main:9: bad character U+002D '-'
--- kind: StackTemplate name: qwerty units: - name: qwerty type: tfmodule source: ../../../qwerty inputs: network: {{ insertYAML .variables.network.dev }}
--- kind: Stack name: qwerty-aks-us-1 template: ./qwerty/aks-us-1 backend: qwerty variables: network: dev: ip: 1.1.1.1 mask: 1.1.1.1 prod: ip: 2.2.2.2 mask: 2.2.2.2
It seems the problem was the presence of the variable name hyphen, I will close the Problem and reopen if there is any news. https://github.com/shalb/cluster.dev/issues/284
What would you like to add If I try to use a variable as
{{ .variables.network.dev }}
, cdev gives an error:[FATAL] Fatal error: load project configuration: prepare objects: template: main:9: bad character U+002D '-'