Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.7 KB

File metadata and controls

76 lines (52 loc) · 2.7 KB

Azure Container Apps with Terraform/OpenTofu - Training Examples

This directory contains progressive examples used with the terraform-az-fk-container-apps module. The examples are designed as incremental building blocks for Azure container workload architectures.

These examples are part of the FoggyKitchen.com training ecosystem and are meant to be applied independently for learning and experimentation.


Example Overview

Example Title Key Topics
01 Public Container App Container Apps Environment, Log Analytics, public image, external ingress
02 Internal VNet Integration delegated subnet, internal load balancer, internal ingress, Bastion test path
03 ACR Image With Managed Identity same private path as 02, ACR, user-assigned identity, AcrPull RBAC, private image pull

How to Use

Each example directory contains:

  • Terraform/OpenTofu configuration (.tf)
  • A focused README.md explaining the goal of the example
  • A terraform.tfvars.example file with placeholder values

To run an example:

cd examples/01_public_container_app
cp terraform.tfvars.example terraform.tfvars
tofu init
tofu plan
tofu apply

The recommended learning path is sequential:

01 -> 02 -> 03

Design Principles

  • One example = one architectural goal
  • Log Analytics, VNet, Private DNS, ACR, Managed Identity, and RBAC stay in their dedicated FoggyKitchen modules
  • Public Container Apps use ACA-managed external ingress, not a separate Azure Public IP resource
  • Container Apps internal ingress replaces the separate load balancer composition used in the OCI private container instance example
  • Bastion and private test VMs are composed in examples where a private endpoint must be exercised
  • Examples avoid hardcoded credentials and ACR admin-user pulls
  • OpenTofu is the primary runtime used in the examples

Related Resources


License

Licensed under the Universal Permissive License (UPL), Version 1.0. See LICENSE for details.


© 2026 FoggyKitchen.com - Cloud. Code. Clarity.