Best practices for using IaC
To wrap up this chapter, we will share some additional best practices and tips for using IaC:
- Use Git as a version control system to track and manage IaC changes.
- Use private repositories when building Azure landing zones to protect sensitive infrastructure configurations and information, and to ensure that only authorized members are permitted to view or edit the files in the private repositories.
- Use public repositories when sharing non-confidential information, such as open source collaboration material, public documentation, and automation examples.
- Adopt an IaC approach for deploying, managing, governing, and supporting Azure landing zone deployments, as we explained in detail earlier in this chapter.
When considering IaC deployments, it is crucial to take into account the deployment scopes within the Azure management levels and hierarchy (refer to Figure 5.2). Understanding the appropriate scope at which Azure resources...