Various Terraform examples for creating and deploying Azure App Service resources.
# This directory contains an example for creating a Python 3.9 Linux App Service
+-- linux-app-service
| +-- linux-app-service.tf
# This directory contains an example for creating a Linux Custom Image - Web App for Container
+-- linux-custom-image
| +-- linux-custom-image.tf
# This directory contains an example for creating a Node 16 Windows App Service
+-- windows-app-service
| +-- windows-app-service.tf
# This directory contains an example for creating a Windows Container - Web App for Container
+-- windows-custom-image
| +-- windows-custom-image.tf
Instructions to run:
- Download Terraform.
- Log in with the Azure CLI and set the appropriate subscription.
- Run
terraform init
- (optional) Run
terraform fmt
to format the.tf
file if changes are made. - Run
terraform apply
to apply and deploy the resources.
View the documentation for the azurerm provider here.