Bicep files via parameterfiles not processed. #1545
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@JonasCordsen From the screenshot to looks like the Bicep code is being expanded because It looks like the binding configuration that associates the type of each resource is not being applied. Previously there was a bug if you executed both PSRule.Rules.Azure with PSRule.Rules.CAF but this should be fixed if you are using the latest versions of PSRule v2.2.0 and PSRule for Azure v1.17.1. I don't see PSRule.Rules.CAF in the output but it seems to be in the I can't see anything in the If you set these bindings within See. https://azure.github.io/PSRule.Rules.Azure/customization/enforce-custom-tags/#bindingtype If none of these suggestions are true, it may be a bug. To debug further set these options in # Configure binding for local rules.
binding:
preferTargetInfo: true
targetType:
- type
- resourceType
# Require minimum versions of modules.
requires:
PSRule: '>=2.2.0'
PSRule.Rules.Azure: '>=1.17.1' |
Beta Was this translation helpful? Give feedback.
@JonasCordsen From the screenshot to looks like the Bicep code is being expanded because
helper
comes from this process. The resource names that would be created via the parameter files should appear in the output.It looks like the binding configuration that associates the type of each resource is not being applied.
Previously there was a bug if you executed both PSRule.Rules.Azure with PSRule.Rules.CAF but this should be fixed if you are using the latest versions of PSRule v2.2.0 and PSRule for Azure v1.17.1.
I don't see PSRule.Rules.CAF in the output but it seems to be in the
ps-rule.yaml
file.I can't see anything in the
ps-rule.yaml
file, however if you are developing custom rules,…