This lab will walk you through the deployment of Azure Container Apps using Terraform configuration file.
The terraform config in main.tf
file will create the following resources:
- Resource group
- Azure Container Apps Environment
- Azure Container Apps that deploys the container image from MCR registry:
mcr.microsoft.com/azuredocs/containerapps-helloworld:latest
.
To deploy this config, you need to cd into the folder where you have the main.tf
file. Then run the following commands.
terraform init
terraform plan -out tfplan
terraform apply tfplan