Skip to content

Instantly share code, notes, and snippets.

View simongottschlag's full-sized avatar

Simon Gottschlag simongottschlag

View GitHub Profile
@simongottschlag
simongottschlag / container-apps.tf
Created February 10, 2026 20:48
Terraform example for accessing a separate Entra tenant using an UAMI and Multi Tenant app
resource "azapi_resource" "resource_group_cae" {
type = "Microsoft.Resources/resourceGroups@2025-04-01"
name = "rg-${var.environment}-${var.location_short}-cae"
location = var.location
response_export_values = {}
}
resource "azapi_resource" "container_app_environment" {
type = "Microsoft.App/managedEnvironments@2025-10-02-preview"