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

Does this package read tf files? #76

Open
ahonnecke opened this issue Jan 7, 2023 · 2 comments
Open

Does this package read tf files? #76

ahonnecke opened this issue Jan 7, 2023 · 2 comments

Comments

@ahonnecke
Copy link

It looks like from the docs that this is mostly python to terraform, if that's not the case, can you point me to some docs or examples of going from terraform to python object?

@GilUpstream
Copy link

from terraform to python object

@ahonnecke I realize your question is about 4 months stale at this point, but can you share a bit about the use case for that? Are you trying to convert existing hcl to terraformpy so it can be used alongside terraformpy code you've got or are writing?

Either way, I'd recommend looking at more popular projects that allow managing infrastructure as code using python like Pulumi (https://github.com/pulumi/pulumi) and Terraform CDK (https://github.com/hashicorp/terraform-cdk).

@joey-mcadams
Copy link

The use case would be:
Read in HCL
Find and Edit a configuration item.
Write HCL

Just writing TF is cool...but if we can read it in and do something with it, that would be excellent.

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

No branches or pull requests

3 participants