You can provide a go template (text/template) or a hcl2 template with a JSON representation of your configuration and this tool will print the generated "file" on stdout.