Nullable parameters for built-in types #2488
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
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.
The problem is also experienced with custom types, however there is some additional complexity so a separate issue will track the case for custom types #2489.
Error messages
The parameter named 'minTLSVersion' 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 in microsoft/PSRule#1640
The text was updated successfully, but these errors were encountered: