Skip to content

Commit

Permalink
Troubleshooting PSRule
Browse files Browse the repository at this point in the history
  • Loading branch information
krbar committed Dec 11, 2023
1 parent 2aa5a18 commit 4fc93a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avm/res/api-management/service/api/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ resource api 'Microsoft.ApiManagement/service/apis@2021-08-01' = {
}
}

module policy 'policy/main.bicep' = [for (policy, index) in policies: {
module policy 'policy/main.bicep' = [for (policy, index) in policies: if (!empty(policies)) {
name: '${deployment().name}-Policy-${index}'
params: {
apiManagementServiceName: apiManagementServiceName
Expand Down

0 comments on commit 4fc93a4

Please sign in to comment.