Previous page >

Content

Tutoriel on medium.com on how to build an Azure Application Gateway with:

Learn how to Use Terraform to build an Azure Application Gateway with:

Authentication

Currently we use Authentication through AZ CLI : https://www.terraform.io/docs/providers/azurerm/guides/azure_cli.html

az login
az account set --subscription="mvp-sub1"

Sample usage on Net

This step ensures that Terraform has all the prerequisites to build your template in Azure.


terraform init 

The terraform plan command is used to create an execution plan. This step compares the requested resources to the state information saved by Terraform and then gives as an output the planned execution. Resources are not created in Azure.

terraform plan 

If all is ok with the proposal you can now apply the configuration.

terraform apply