This is a repository comparing the writing styles of Infrastructure as Code (IaC) tools. IaC refers to the practice of managing and deploying infrastructure through code, and can help development teams be more efficient. The document lists five different IaC tools: Azure CLI, Ansible Playbook, Terraform, ARM Template, and Bicep. Each tool is described in detail, including the name of the code file, whether it can work, and relevant references. If you are comparing the use of these tools, this repository can provide useful information.
Tools | Filename | Can work? | Note |
---|---|---|---|
Azure CLI | azcli-create-private-aro.azcli | Yes | Ref |
Ansible | ansible-create-private-aro.yml | Yes | Ref |
Terraform | terraform-create-private-aro.tf | No | Ref |
ARM Template | arm-template-create-private-aro.json | Yes | Ref |
Bicep | bicep-create-private-aro.json | Yes | Ref |
- Azure CLI v.s. Ansible Playbook: Understand the readability and differences brought by Ansible Playbook
- Azure CLI v.s. Terraform: Understand the difference between imperative and declarative
- Ansible Playbook v.s Terraform: Understand that Terraform has better dependency management for the Azure platform
- ARM Template v.s Terraform: Understand the styles of two declarative languages
- ARM Template v.s. Bicep: Understand the styles of two declarative languages provided by the official sources
- Req 1: From nothing to running
- Req 2: Deploy Azure Red Hat OpenShift
- Req 3: Should be private cluster instead of public cluster