-
Notifications
You must be signed in to change notification settings - Fork 512
Open
Labels
Class: Resource Module 📦This is a resource moduleThis is a resource moduleNeeds: Triage 🔍Maintainers need to triage stillMaintainers need to triage stillStatus: Response Overdue 🚩When an issue/PR has not been responded to for X amount of daysWhen an issue/PR has not been responded to for X amount of daysType: AVM 🅰️ ✌️ Ⓜ️This is an AVM related issueThis is an AVM related issueType: Bug 🐛Something isn't workingSomething isn't working
Description
Check for previous/existing GitHub issues
- I have checked for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/web/site
(Optional) Module Version
No response
Description
When deploying the following Bicep file, Application Insights is not enabled as expected.
targetScope = 'subscription'
var location = 'japaneast'
resource rg 'Microsoft.Resources/resourceGroups@2021-04-01' = {
name: 'RG-Temp'
location: location
}
module workspace 'br/public:avm/res/operational-insights/workspace:0.13.0' = {
name: 'la'
scope: rg
params: {
name: 'la001'
location: location
}
}
module ai 'br/public:avm/res/insights/component:0.6.0' = {
name: 'ai'
scope: rg
params: {
name: 'ai001'
location: location
applicationType: 'web'
workspaceResourceId: workspace.outputs.resourceId
}
}
module plan 'br/public:avm/res/web/serverfarm:0.4.0' = {
name: 'plan'
scope: rg
params: {
name: 'plan001'
zoneRedundant: false
location: location
}
}
module site 'br/public:avm/res/web/site:0.19.4' = {
name: 'site'
scope: rg
params: {
name: 'web001'
location: location
kind: 'app'
serverFarmResourceId: plan.outputs.resourceId
autoGeneratedDomainNameLabelScope: 'NoReuse'
configs: [
{
name: 'appsettings'
applicationInsightResourceId: ai.outputs.resourceId
}
]
}
}
I checked a similar issue previously reported, but it has already been closed and does not seem to resolve this case:
#5682
(Optional) Correlation Id
No response
Metadata
Metadata
Assignees
Labels
Class: Resource Module 📦This is a resource moduleThis is a resource moduleNeeds: Triage 🔍Maintainers need to triage stillMaintainers need to triage stillStatus: Response Overdue 🚩When an issue/PR has not been responded to for X amount of daysWhen an issue/PR has not been responded to for X amount of daysType: AVM 🅰️ ✌️ Ⓜ️This is an AVM related issueThis is an AVM related issueType: Bug 🐛Something isn't workingSomething isn't working
Type
Projects
Status
Needs: Triage