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

OpenTofu support #169

Open
jkroepke opened this issue May 23, 2024 · 2 comments
Open

OpenTofu support #169

jkroepke opened this issue May 23, 2024 · 2 comments

Comments

@jkroepke
Copy link
Contributor

Hey, me again!

I would like to know of you have in mind to. support OpenTofu?

OpenTofu supports state encryption (https://opentofu.org/docs/language/state/encryption/) which not available in Terraform.

However, since OpenTofu is on the market, Terraform plan to implement state encryption as well. I expect, they implement it differently.

With OpenTofu support, you could replace the terraform dependencies with the opentofu with the risk to lose support for future terraform support.

The best possible solution would a switch to implement both.

@fujiwara
Copy link
Owner

Hi!

I read the document and source code about the OpenTofu state encryption.

In conclusion, It is hard to support the encryption by tfstate-lookup.

  • The implementation is placed in internal/ directory. We cannot import the code.
  • TF_ENCRYPTION environment variable includes HCL code. So we have to write compatible behavior from parsing the code to all. It is hard for me, and I lack motivation.

@jkroepke
Copy link
Contributor Author

I understand, thanks.

Seems like the alternative approach would be tofu state pull and use the local state as source

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

2 participants