-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AVM Module Issue]: Public IP Address has optional parameters that seem to be required #4254
Comments
@kevin-381ecc2e, thanks for submitting this issue for the Important A member of the @Azure/avm-res-network-publicipaddress-module-owners-bicep or @Azure/avm-res-network-publicipaddress-module-contributors-bicep team will review it soon! |
Hi @kevin-381ecc2e. Are you sure your not passing this with empty param. The last time this module published the tests ran and the results are here: https://github.com/Azure/bicep-registry-modules/actions/runs/12813357049/job/35728188982 In which the default test runs with only these inputs: bicep-registry-modules/avm/res/network/public-ip-address/tests/e2e/defaults/main.test.bicep Lines 38 to 45 in 86ca03b
|
When i don't provide the parameter it complains that its not present. And when i do provide an empty parameter it complains that protectionMode is missing |
@kevin-381ecc2e - what bicep version are you using? @description('Optional. The DDoS protection plan configuration associated with the public IP address.')
param ddosSettings ddosSettingsType?# The input is nullable. it will only require |
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/network/public-ip-address
(Optional) Module Version
0.7.1
Description
It seems that within the Module for the Public Ip Address there is a false positive.
When using the module the documentation mentions that ddosSettings is 'Optional'.
However when using the module and not providing it it results in an error that the ddosSetting is not present.
When placing a blank 'ddosSetting' property the validator complains that it has missing properties.
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: