Infrastructure as a Code
- Declarative Syntax
- Repeatable Results
- Orchestration
- Modular files
- Create any Resource
- CI/CD Integration
Azure IAC
- Azure Natively supports IaC using
- ARM Templates
- Azure Bicep
Authoring Tools
- ARM Templates can be developed on any text editor, But visual studio code is the better choice
- Ensure the following extension is installed in visual studio code
ARM Templates
- ARM Template is JSON file that defines the infrastructure and configuration for your project/application
- Refer Here for the ARM Template syntax
- For the Template structure of the ARM template Refer Here
- Refer Here for the resources
- We have create a template for the vnet
- To deploy this template from portal, create a resource group
* Select Build your own template
* Refer Here for the changeset
* Now lets fix the issue Refer Here for the change set and redeploy
*