Skip to content

Commit 1c88d7e

Browse files
fix: Created minified the version of workbk json to reduce size f main.json
1 parent d36cf84 commit 1c88d7e

File tree

3 files changed

+9
-1726
lines changed

3 files changed

+9
-1726
lines changed

infra/main.bicep

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ module webServerFarm 'br/public:avm/res/web/serverfarm:0.5.0' = {
893893
// scope: resourceGroup()
894894
}
895895

896-
module web 'modules/app/web.bicep' = if (hostingModel == 'code' || hostingModel == 'container') {
896+
module web 'modules/app/web.bicep' = {
897897
name: take('module.web.site.${websiteName}${hostingModel == 'container' ? '-docker' : ''}', 64)
898898
scope: resourceGroup()
899899
params: {
@@ -1013,7 +1013,7 @@ module web 'modules/app/web.bicep' = if (hostingModel == 'code' || hostingModel
10131013
}
10141014
}
10151015

1016-
module adminweb 'modules/app/adminweb.bicep' = if (hostingModel == 'code'|| hostingModel == 'container') {
1016+
module adminweb 'modules/app/adminweb.bicep' = {
10171017
name: take('module.web.site.${adminWebsiteName}${hostingModel == 'container' ? '-docker' : ''}', 64)
10181018
scope: resourceGroup()
10191019
params: {
@@ -1128,7 +1128,7 @@ module adminweb 'modules/app/adminweb.bicep' = if (hostingModel == 'code'|| host
11281128
}
11291129
}
11301130

1131-
module function 'modules/app/function.bicep' = if (hostingModel == 'code' || hostingModel == 'container') {
1131+
module function 'modules/app/function.bicep' = {
11321132
name: hostingModel == 'container' ? '${functionName}-docker' : functionName
11331133
scope: resourceGroup()
11341134
params: {

infra/main.json

Lines changed: 5 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)