Created
May 14, 2026 17:26
-
-
Save andrewmatveychuk/22edae5fa470341634426fdfa09afc31 to your computer and use it in GitHub Desktop.
Container App Environment template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| resource containerEnvironment 'Microsoft.App/managedEnvironments@2026-01-01' = { | |
| name: containerAppEnvironmentName | |
| location: location | |
| properties: { | |
| appLogsConfiguration: { | |
| destination: 'log-analytics' | |
| logAnalyticsConfiguration: { | |
| customerId: existingWorkspace.properties.customerId | |
| sharedKey: existingWorkspace.listKeys().primarySharedKey | |
| } | |
| } | |
| vnetConfiguration: { | |
| internal: internal // This must be set to internal to access Private Link connections | |
| infrastructureSubnetId: containerEnvironmentSubnet.id // You need to provide a subnet to be delegated and used by the environment | |
| } | |
| zoneRedundant: true | |
| workloadProfiles: [ // Use Workload profile envionments only | |
| { | |
| name: 'Consumption' | |
| workloadProfileType: 'Consumption' | |
| } | |
| ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment