opentofu / opentofu

OpenTofu lets you declaratively manage your cloud infrastructure.
https://opentofu.org
Mozilla Public License 2.0
23.38k stars 900 forks source link

Functions in Terraform #1614

Open snowsky opened 6 months ago

snowsky commented 6 months ago

OpenTofu Version

GitHub repo on main branch

Use Cases

This is to follow up the discussions on Slack, https://opentofucommunity.slack.com/archives/C05RKE7PS72/p1714960161198039. Janos would like to use an issue for migration guides. There are 3 new functions introduced in Terraform 1.8:

"encode_tfvars"
"decode_tfvars"
"encode_expr"

More details: https://developer.hashicorp.com/terraform/language/functions/terraform-encode_tfvars

Attempted Solutions

N/A

Proposal

No response

References

No response

cube2222 commented 6 months ago

Additionally, I'd personally be in favour of adding these in OpenTofu 1.8. Not sure what others think?

Sounds like a very small amount of work.

lijok commented 1 week ago

These would be very useful to have.

abstractionfactory commented 1 week ago

Thanks @lijok I think this dropped off the radar. I queued this issue for the core team to discuss.