Skip to content

Commit

Permalink
Add useAPIM conditional judgment
Browse files Browse the repository at this point in the history
  • Loading branch information
Menghua1 committed Jun 24, 2024
1 parent 4b2f44a commit 8f473fc
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
apiAppName: api.outputs.name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
apiAppName: api.outputs.name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
apiAppName: api.outputs.name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
apiAppName: api.outputs.name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
apiAppName: api.outputs.name
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ module apiConfig '../../../../../common/infra/bicep/app/website-config.bicep' =
name: 'apiconfig'
scope: rg
params: {
apimServiceId: apim.outputs.resourceId
apimServiceId: useAPIM ? apim.outputs.resourceId : ''
apiName: apimApiName
apiAppName: api.outputs.name
}
Expand Down

0 comments on commit 8f473fc

Please sign in to comment.