Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Ignition config should be marshaled as compact JSON #2

Closed
maikzumstrull opened this issue Jun 30, 2017 · 1 comment
Closed

Ignition config should be marshaled as compact JSON #2

maikzumstrull opened this issue Jun 30, 2017 · 1 comment

Comments

@maikzumstrull
Copy link

It's currently using indented JSON:
https://github.com/terraform-providers/terraform-provider-ignition/blob/master/ignition/resource_ignition_config.go#L122

This doesn't really help with readability, as Terraform logs the JSON blob with additional escaping, ruining the effect, plus raw Ignition configs aren't meant to be human-readable anyway. It does blow up the file size, though, and most cloud providers have a pretty tight size limit on metadata.

kairen pushed a commit to getamis/terraform-provider-ignition that referenced this issue Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants