I would like to report one very minor formatting issue, with trailing commas for HCL1 interpolation syntax/HCL2 functions. See screenshot below.
Functions that can take variable arguments can end with trailing commas according to HCL grammar, I believe. But the plug-in complains the behaviour as an error. See references below.
It should either be a warning formatting or proposed hint to remove the trailing comma, I think. Please correct me if I am wrong.
I would like to report one very minor formatting issue, with trailing commas for HCL1 interpolation syntax/HCL2 functions. See screenshot below.
Functions that can take variable arguments can end with trailing commas according to HCL grammar, I believe. But the plug-in complains the behaviour as an error. See references below.
It should either be a warning formatting or proposed hint to remove the trailing comma, I think. Please correct me if I am wrong.
Ref: https://www.terraform.io/docs/configuration-0-11/interpolation.html#merge-map1-map2- https://www.terraform.io/docs/configuration/functions.html
Originally posted by @jerrygb in https://github.com/VladRassokhin/intellij-hcl/issues/208#issuecomment-500785521