Skip to content

Files

Latest commit

 

History

History

03_create_aca_terraform

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Deploying Container Apps using Terraform

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:

  1. Resource group
  2. Azure Container Apps Environment
  3. 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