# TFNFR31 - locals.tf for Locals Only Module Specification for the Azure Verified Modules (AVM) program ID: TFNFR31 - Category: Code Style - locals.tf for Locals Only In locals.tf, file we could declare multiple locals blocks, but only locals blocks are allowed. You MAY declare locals blocks next to a resource block or data block for some advanced scenarios, like making a fake module to execute some light-weight tests aimed at the expressions. --- Source: https://raw.githubusercontent.com/Azure/Azure-Verified-Modules/refs/heads/main/docs/content/specs-defs/includes/terraform/shared/non-functional/TFNFR31.md Last Modified: 0001-01-01