Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 677 Bytes

Azure_Resoruce_Manager_Template_Authoring_Best_Practices.md

File metadata and controls

21 lines (16 loc) · 677 Bytes

Authoring best practices

  • Camel Case

    • apiVersion instead of APIVersion
  • Location

    • resourceGroup().location instead of -Location
  • Tag

    • Automation create tags
  • Outputs

    • Pass information for additonal automation (PowerShell best practices)
    • information to end users (publicIPs, entry points)
  • Complex Variables

    • Reference assumptions by complex variables
    • use ARM template funcitons for building variables
  • Concat will asume resource exists, so use resourceID if you need to depend on it

Source