diff --git a/pkg/deploy/assets/gateway-production.json b/pkg/deploy/assets/gateway-production.json index 19f123da724..0379ab606d8 100644 --- a/pkg/deploy/assets/gateway-production.json +++ b/pkg/deploy/assets/gateway-production.json @@ -294,8 +294,7 @@ }, "diagnosticsProfile": { "bootDiagnostics": { - "enabled": true, - "storageUri": "[concat('https://', parameters('gatewayStorageAccountDomain'), '/')]" + "enabled": true } }, "extensionProfile": { diff --git a/pkg/deploy/assets/rp-production.json b/pkg/deploy/assets/rp-production.json index 26282772f7b..17f12ad285b 100644 --- a/pkg/deploy/assets/rp-production.json +++ b/pkg/deploy/assets/rp-production.json @@ -493,8 +493,7 @@ }, "diagnosticsProfile": { "bootDiagnostics": { - "enabled": true, - "storageUri": "[concat('https://', parameters('storageAccountDomain'), '/')]" + "enabled": true } }, "extensionProfile": { diff --git a/pkg/deploy/generator/resources_gateway.go b/pkg/deploy/generator/resources_gateway.go index 662df3de5a4..b0327216211 100644 --- a/pkg/deploy/generator/resources_gateway.go +++ b/pkg/deploy/generator/resources_gateway.go @@ -346,8 +346,7 @@ func (g *generator) gatewayVMSS() *arm.Resource { }, DiagnosticsProfile: &mgmtcompute.DiagnosticsProfile{ BootDiagnostics: &mgmtcompute.BootDiagnostics{ - Enabled: to.BoolPtr(true), - StorageURI: to.StringPtr("[concat('https://', parameters('gatewayStorageAccountDomain'), '/')]"), + Enabled: to.BoolPtr(true), }, }, }, diff --git a/pkg/deploy/generator/resources_rp.go b/pkg/deploy/generator/resources_rp.go index 3d961e70dff..1813c98fa9c 100644 --- a/pkg/deploy/generator/resources_rp.go +++ b/pkg/deploy/generator/resources_rp.go @@ -634,8 +634,7 @@ func (g *generator) rpVMSS() *arm.Resource { }, DiagnosticsProfile: &mgmtcompute.DiagnosticsProfile{ BootDiagnostics: &mgmtcompute.BootDiagnostics{ - Enabled: to.BoolPtr(true), - StorageURI: to.StringPtr("[concat('https://', parameters('storageAccountDomain'), '/')]"), + Enabled: to.BoolPtr(true), }, }, },