• ID: TFNFR6 - Category: Code Style - Resource & Data Order
  1. Azure Verified Modules > 
  2. Specifications & Definitions > 
  3. TFNFR6 - Resource & Data Order
  • Category-CodeStyle
  • Class-Pattern
  • Class-Resource
  • Language-Terraform
  • Lifecycle-BAU
  • Persona-Contributor
  • Persona-Owner
  • Severity-SHOULD
  • Type-NonFunctional
  • Validation-TBD

TFNFR6 - Resource & Data Order

ID: TFNFR6 - Category: Code Style - Resource & Data Order

For the definition of resources in the same file, the resources be depended on SHOULD come first, after them are the resources depending on others.

Resources that have dependencies SHOULD be defined close to each other.

Jan 29, 2025
AVM
  • Home

  • Overview
    • Introduction
  • Module Indexes
    • Bicep
      • Resource Modules
      • Pattern Modules
      • Utility Modules
    • Terraform
      • Resource Modules
      • Pattern Modules
      • Utility Modules
  • Usage Guide
    • Quickstart
      • Bicep
      • Terraform
    • Solution Development
      • Bicep
      • Terraform
  • Specifications & Definitions
    • Team Definitions & RACI
    • Module Classifications
    • Module Lifecycle
    • Module Specifications
      • Bicep
        • Resource Modules
        • Pattern Modules
        • Utility Modules
        • Interfaces
      • Terraform
        • Resource Modules
        • Pattern Modules
        • Utility Modules
        • Interfaces
  • Help & Support
    • Module Support
    • Known Issues
    • Issue Triage
      • AVM Repository
      • BRM Repository
      • Terraform Repositories
      • Issue Triage Automation
    • Telemetry
    • GitHub Links
      • Propose a New Module
      • Question or Feedback
      • Module Triage (Project)
      • Module Issues (Project)
      • Issue Triage (Project)
  • Contributing
    • Process Overview
    • Bicep Modules
      • Prerequisites
      • Contribution Flow
        • Owner Contribution Flow
        • Update Module Files
        • Validate Module Locally
        • Enable or Disable Workflows
        • Custom CI Secrets
    • Terraform Modules
      • Prerequisites
      • Composition
      • Testing
      • Contribution Flow
        • Owner Contribution Flow
        • Repository Creation Process
      • Review
    • Contribution Q&A
    • Website
  • Resources
    • Community
    • FAQ
    • Glossary

  •  
  •  
  •  

Built with byHugo