Closed Davasny closed 1 month ago
Hi @Davasny! I don't think the UI does any parsing of the HCL which is maybe why it's not identifying the variables type correctly. I'll mark this for further investigation.
@tgross I think this is a duplicate of the issue we've discussed here: https://github.com/hashicorp/nomad/issues/23462
Good catch, thanks @the-nando! I'm going to close this as a duplicate, but ping @philrenaud so he sees the additional context here.
Nomad version
Output from
nomad version
Operating system and Environment details
Issue
UI job editor puts list variables into quotes which causes invalid
input.hcl
file structureReproduction steps
Go to deployed service via nomad ui
Go to definition, edit, try to plan without any change
You will see exception
Expected Result
Job should be planned without exception
UI should not put list variable value into quotes. Changing value by hand will result in accepted plan
Actual Result
Job file (if appropriate)
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)