Azure Terraform
Module Catalogue

Root modules under terraform/modules/azure/ — ARM regions, shared tagging, documented conventions.

40+ modules
12 categories
1.0.0 latest tag
westeurope default region

No modules found

Try a different search term or clear the filter.

Foundation

2 modules

Baseline identity and resource groups most stacks start from.

resource-group Foundation

Resource group with region and tags.

user-assigned-identity Foundation

User-assigned managed identity with tags.

Container Apps

5 modules

Shared environment, apps, storage mounts, and metric alerts.

container-app-environmentContainer Apps

Container Apps Environment: shared runtime with Log Analytics integration.

container-app-environment-storageContainer Apps

Mount Azure Files storage to the environment (persistent volumes for containers).

container-appContainer Apps

Azure Container App: single app with ingress, scaling, container image, and secrets management.

container-app-with-alertsContainer Apps

Container App plus built-in alerts in one module (pre-wired monitoring).

container-app-alertsContainer Apps

Metric alerts for Container App CPU, memory, and requests (Azure Monitor).

Container Registry

2 modules

ACR and service-principal access for CI/CD.

container-registryRegistry

Azure Container Registry (SKU, optional admin user).

container-registry-principal-accessRegistry

Grant a service principal access to ACR (pull/push for CI/CD).

Networking & DNS

5 modules

VNet layout for CAE + PostgreSQL and Azure DNS records.

cae-postgres-vnetNetworking

Virtual network with subnets for Container Apps Environment and PostgreSQL Flexible Server.

dns-zoneNetworking

Create an Azure DNS zone.

dns-cname-recordNetworking

A single CNAME record in an Azure DNS zone.

dns-txt-recordNetworking

A single TXT record in an Azure DNS zone (e.g. domain validation).

dns-recordsNetworking

Multiple TXT and CNAME records in one zone (map-driven for_each).

Databases

4 modules

PostgreSQL Flexible Server, databases, users, and Cosmos DB for MongoDB vCore.

postgresql-flexible-serverDatabase

Azure Database for PostgreSQL – Flexible Server (SKU, backup, networking, authentication).

postgresql-flexible-databaseDatabase

Create a database on an existing PostgreSQL Flexible Server.

postgresql-flexible-userDatabase

Create an application user and password on PostgreSQL (optional random password).

documentdb-mongoclusterDatabase

Cosmos DB for MongoDB vCore — cluster and related resources via Azure API.

Cache & Messaging

2 modules

Redis and Service Bus.

redisCache

Azure Cache for Redis instance (SKU, capacity, TLS).

service-busMessaging

Azure Service Bus namespace (SKU; queues and topics).

Identity & Secrets

2 modules

Key Vault and app registration with RBAC.

key-vaultIdentity

Azure Key Vault with network ACLs, access policies or RBAC, optional external secret-sync service principal.

service-principal-rbacIdentity

App registration, client secret, service principal, and RBAC role assignments on resource group(s).

AI & Cognitive

2 modules

Azure AI Services account and OpenAI deployments.

ai-foundryAI

Azure AI Services (AIServices kind) cognitive account with diagnostic settings – AI Foundry workloads.

cognitive-openai-deploymentsAI

Azure OpenAI model deployments (models and capacity) within an existing cognitive account.

Communication & Email

3 modules

ACS, Email Communication Service, and custom domains.

communication-serviceComms

Azure Communication Services resource (SMS, voice; optional email domain association).

email-communication-serviceComms

Azure Email Communication Service – transactional email resource.

email-communication-service-domainComms

Custom sender domain for Email Communication Service (verification, DNS records).

Static Web

3 modules

Static Web Apps and custom / apex DNS.

static-web-appStatic web

Azure Static Web Apps (SKU, optional basic authentication).

static-web-app-custom-domainStatic web

Attach a subdomain or hostname to a Static Web App (CNAME or TXT validation).

static-web-app-apex-dnsStatic web

Apex (root) domain for Static Web App: custom domain plus DNS TXT validation.

Observability

4 modules

Log Analytics, action groups, dashboards, and workbooks.

log-analytics-workspaceObservability

Log Analytics workspace for logs and metrics.

action-groupObservability

Azure Monitor Action Group: route alerts to email and Azure mobile app push notifications.

portal-dashboardObservability

Azure Portal dashboard with Container App metrics (CPU, memory, requests, logs).

workbookObservability

Application Insights workbook with metric views scoped by Container App resource ID.

Other Compute & Integration

3 modules

VM, storage, and Web PubSub.

linux-vmCompute

Linux virtual machine with disk, NIC, SSH key or password-based admin.

storage-accountCompute

Azure Storage account (tier, redundancy, encryption settings).

web-pubsubIntegration

Azure Web PubSub for real-time WebSocket traffic.