Skip to content

Commit

Permalink
Setup managed environment default to to azure monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Jan 23, 2024
1 parent 0fa64f0 commit b38c227
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion avm/res/app/container-app/tests/e2e/max/dependencies.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ param managedIdentityName string
resource managedEnvironment 'Microsoft.App/managedEnvironments@2023-05-01' = {
name: managedEnvironmentName
location: location
properties: {}
properties: {
appLogsConfiguration: {
destination: 'azure-monitor'
}
}
}

resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ param managedIdentityName string
resource managedEnvironment 'Microsoft.App/managedEnvironments@2023-05-01' = {
name: managedEnvironmentName
location: location
properties: {}
properties: {
appLogsConfiguration: {
destination: 'azure-monitor'
}
}
}

resource managedIdentity 'Microsoft.ManagedIdentity/userAssignedIdentities@2023-01-31' = {
Expand Down

0 comments on commit b38c227

Please sign in to comment.