# TFNFR25 - Verified Modules Requirements Module Specification for the Azure Verified Modules (AVM) program ID: TFNFR25 - Category: Code Style - Verified Modules Requirements The terraform.tf file MUST only contain one terraform block. The first line of the terraform block MUST define a required_version property for the Terraform CLI. The required_version property MUST include a constraint on the minimum version of the Terraform CLI. Previous releases of the Terraform CLI can have unexpected behavior. The required_version property MUST include a constraint on the maximum major version of the Terraform CLI. Major version releases of the Terraform CLI can introduce breaking changes and MUST be tested. The required_version property constraint SHOULD use the ~> #.# or the >= #.#.#, < #.#.# format. Note: You can read more about Terraform version constraints in the documentation. Example terraform.tf file: terraform { required_version = "~> 1.6" required_providers { azurerm = { source = "hashicorp/azurerm" version = "~> 3.11" } } } --- Source: https://raw.githubusercontent.com/Azure/Azure-Verified-Modules/refs/heads/main/docs/content/specs-defs/includes/terraform/shared/non-functional/TFNFR25.md Last Modified: 0001-01-01