fujiwara / tfstate-lookup

Lookup resource attributes in tfstate.
Mozilla Public License 2.0
97 stars 22 forks source link

OpenTofu support #169

Open jkroepke opened 6 months ago

jkroepke commented 6 months ago

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 commented 6 months ago

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.

jkroepke commented 6 months ago

I understand, thanks.

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