Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 683 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 683 Bytes

Terraform Sample

Authenticate using Azure CLI

# Authenticate with Azure
az login --use-device-code

# Use desired Azure subscription
az account set --subscription <SUBSCRIPTION_ID_OR_NAME>

Provision the sample infrastructure

# initialize the project (FIRST TIME ONLY)
terraform init
# Provision the infrastructure
terraform apply

Update the sample infrastructure

This assumes you've made some changes (eg provide another value for the image_tag variable).

# Update the sample infrastructure
terraform apply

Destroy the sample infrastructure

# Destroy the sample infrastructure
terraform destroy