blade icon indicating copy to clipboard operation
blade copied to clipboard

Consider using HCL instead of Yaml

Open deckarep opened this issue 7 years ago • 3 comments

HCL is HashiCorp’s DSL

deckarep avatar Mar 08 '18 03:03 deckarep

HCL seems like a good idea. :+1:

Should blade support both?

theRemix avatar Mar 08 '18 05:03 theRemix

It’s a possibility, do you think there is an advantage to supporting more than one type of configuration file?

Out of the box just by supporting HCL it will support both HCL and json. So we get that for free.

Also I haven’t forgot about the roadmap...got pretty sick this last weekend.

deckarep avatar Mar 08 '18 19:03 deckarep

No actually I thought about it over night and I think a single HCL format makes documentation and testing easier to manage.

Reasons for yaml:

  • HIL could also work with it
  • other scriptable/declarative infrastructure configs use haml (like k8s)

My vote is for single HCL format.

theRemix avatar Mar 08 '18 21:03 theRemix