mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-20 22:01:25 -04:00
This repurposes the page that was previously about "terraform" blocks to now be about "language" blocks instead. This is the modern way to describe version compatibility constraints for OpenTofu, though we retain some support for required_versions in "terraform" blocks as a transitional aid for those who want to write modules that can work with older versions of OpenTofu. There were previously additional sections on this page discussing other settings that can appear in "terraform" blocks, but they were essentially just links to more detailed documentation elsewhere and so this reduces all of that to just a single section that acknowledges that this block type accepts other options and links to the relevant documentation for each one. This structure matches the reality that "terraform" blocks are just a dumping ground for a variety of tangentially-related settings, and that we're intending to gradually replace all of the settings in there with brand-agnostic alternatives in future releases. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>