Nullable parameters for custom types #2489
Labels
bug
Something isn't working
feature: pre-flight-expansion
Issues relating to expansion of ARM and Bicep.
Milestone
Existing rule
No response
Description of the issue
Similar to #2488 this issue occurs for custom types.
When nullable parameters are defined in a module and the consuming module does not pass through a value (resulting in a null) an expansion error is raised.
Error messages
The parameter named 'corsRules' was not set or a defaultValue was defined.
Reproduction
Version of PSRule
2.9.0
Version of PSRule for Azure
1.30.2
Additional context
Raised by @AlexanderSehr microsoft/PSRule#1640
The text was updated successfully, but these errors were encountered: