Skip to content

nucleo-tidz/terraform-azure-provisioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Provison Reources

Terraform and git workflows are the most common way to automate provisoning of infrastructure on azure

Create Service Principal

Service principal will be used by terraform to login in azure and run the commands

az login
az account set --subscription=<subscrition id>
az ad sp create-for-rbac -n "api://<name of your choice>" --role "Contributor" --scopes "/subscriptions/<subscrition id>"

Output

{
  "appId": "bogus-bogus-4627-9010-bogus",  --Client id
  "displayName": "ahmarhusain",
  "name": "api://ahmarhusain",
  "password": "bogus.lAux7u-bogus", -- Client secret
  "tenant": "bogus-fa1a-bogus-9cf1-bogus"  -- Teanat id
}

About

Terraform to provision resources in azure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages