Install Azure CLI and login from command prompt:-
az login
Please execute below command and generate tanentId, ClientId:-
az account list --query "[].{name:name, subscriptionId:id, tenantId:tenantId}"
Set SubscriptionID:-
az account set --subscription="<SUBSCRIPTION_ID>"
Create a Contributor Role in order to work with Azure from Terraform:-
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<SUBSCRIPTION_ID>"
pranikita / azure-terraform-win Goto Github PK
View Code? Open in Web Editor NEWThis project forked from prakashk0301/azure-terraform-win