Skip to content

Comparing a simple Azure architecture in Terraform and Bicep

License

Notifications You must be signed in to change notification settings

ThorstenHans/terraform-vs-bicep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform vs Bicep

This repository contains Infrastructure-as-Code (IaC) for a fairly simple Azure Architecture.

The same architecture has been coded twice (once with Bicep and once with Terraform) to demonstrate the differences.

Each implementation contains a shell script that shows how to deploy the architecture.

Check the corresponding READMEs

Both projects come with dedicated DevContainer

Terraform DevContainer

  • latest Azure CLI az is installed
  • Terraform CLI terraform is installed (currently version 1.1.7)
  • Terraform extensions from HashiCorp (hashicorp.terraform) is installed

Bicep DevContainer

  • latest Azure CLI az is installed
  • Bicep extension from Microsoft (ms-azuretools.vscode-bicep) is installed

Authentication with Azure

Because both projects are designed to work independently you have to login explicitly in each DevContainer using az login --use-device-code

About

Comparing a simple Azure architecture in Terraform and Bicep

Resources

License

Stars

Watchers

Forks