u/Yantrio

OpenTofu 1.12 has landed!
▲ 131 r/Terraform

OpenTofu 1.12 has landed!

Hey! OpenTofu Maintainer here.

OpenTofu 1.12 is out and I just wanted to share here what I think may be useful for some people.

  • prevent_destroy can now reference variables. (prevent_destroy = var.is_prod works now!)
  • tofu init now understands all platform hashes for every platform on its first run. This means you shouldn't have to reach for tofu providers lock anymore for managing multiple architectures.
  • Provider downloads now run in parallel. init should be faster for everybody all around.
  • -json-into=FILENAME lets you send human readable logs that we all love to stdout, and have json readable logs sent off to a different file, pipe, etc. This means you can do some fancy TUI logging alongside your real logs!

We have lots more for you to see in our full changelog here: https://github.com/opentofu/opentofu/blob/v1.12/CHANGELOG.md

Or our blogpost here: https://opentofu.org/blog/opentofu-1-12-0/

u/Yantrio — 8 days ago