-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does consul support HCL for config files? #895
Comments
@grantr eventually! We've had requests for it before so I think it makes sense to add it as long as the JSON format is preserved. The main want seems to be around adding comments to configs/service definitions etc which seems reasonable. Marking as an enhancement. |
Yep, comments would be great. Thanks @ryanuber! |
👍 |
2 similar comments
👍 |
👍 |
👍 |
👍 |
👍 |
👍 because I want to put a comment in the config file that indicates that it is managed by Ansible -- e.g.:
I can't do this with JSON. I tried this:
but Consul doesn't like it when it sees keys that it doesn't know about:
so I guess if we can't have HCL in the near term, could we have some mechanism for putting keys that Consul ignores that can be used for user metadata -- e.g.: if they start with an underscore or a double underscore? |
I like the idea. Nomad supports HCL, so for people using both together this would allow more consistency across configurations. |
👍 |
// , This might make it easier on us Puppeteers and Salt Stackers. |
#3480 will add HCL support |
HCL is supported for ACL definitions, but it doesn't seem to be supported for config files. Is this a planned feature?
The text was updated successfully, but these errors were encountered: