Skip to content
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

Feature Request: Output in HCL Format #16222

Open
jgrossmac opened this issue Sep 29, 2017 · 1 comment
Open

Feature Request: Output in HCL Format #16222

jgrossmac opened this issue Sep 29, 2017 · 1 comment

Comments

@jgrossmac
Copy link

I am currently working on 2 different Terraform configurations that are related to each other, but not enough that I want to make them each a separate module. It would be nice if terraform output supported HCL so I can stdout to a tfvars file that my other configuration can ingest and use for its build. Configuration 2 will always be dependent upon configuration 1 for resources such as VPCs, subnets, ect..

Currently it looks like json is supported which seems to work, but I prefer HCL for the readability.

@apparentlymart
Copy link
Member

Hi @jgrossmac!

This seems like a reasonable idea. We're currently embarking on some quite complex changes to HCL/HIL that will change their internal API, so we'll need to hold on this until afterwards to avoid conflicts but once we get there it shouldn't be too hard to get this done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants