21 - Terraform Lab - By Houssem Dellai
TERRAFORM - BY HOUSSEM DELLAI Install Terraform - Chocolatey on Windows https://learn.hashicorp.com/tutorials/terraform/install-cli https://terraform.io Download Azure CLI https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli Create an Azure Account Download Visual Studio Code https://code.visualstudio.com/download Install Terraform Extension Download Source Code/ Template https://github.com/HoussemDellai/terraform-course Deploy Infra in the Cloud using Terraform 01 - Resource Group vi main.tf # valid for terraform version 0.13 # provider "azurerm" { # version = "=2.40.0" # features {} # } # valid for terraform version 0.14 provider "azurerm" { features {} } terraform { required_providers { azurerm = { source = "hashicorp/azurerm" version = "2.40.0" } } } resource "azurerm_resource_group" "rg" { name = "myFirstReso