I started as I was preparing for the Terraform Associate exam. Then I decided to make this a step by step tutorial.
If you like or found this useful, please give it a star. Thanks!
-
az account show
-
az account list
-
az account set --subscription "Microsoft Azure Sponsorship"
-
az account set --subscription "Mewurk - DevTest"
-
Get-AzResourceGroup
-
Select-AzSubscription -SubscriptionName "Microsoft Azure Sponsorship"
-
Get-AzResourceGroup
-
Since we are working with Azure, First install azure cli. This will be the provider for Terraform.
- Then execute az login command.
- Then execute az account show and ensure, your subscription details are displayed.
-
Now install terraform.
-
Just a trial. Here we go