Skip to content

[AVM Module Issue]: Missing protectionMode 'VirtualNetworkInherited' value in ddosSettingsType #6358

@x0Armin0x

Description

@x0Armin0x

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Bug

Module Name

avm/res/network/public-ip-address

(Optional) Module Version

0.10.0

Description

The protectionMode property under the ddosSettingsType configuration only accepts the value 'Enabled'. However, when the protectionMode is set to 'VirtualNetworkInherited' in an existing resource, executing a what-if operation will incorrectly detect the absence/update of this property and generate a wrong diff. This issue arises because the module does not account for the VirtualNetworkInherited value, leading to unintended changes during the deployment process. The solution is to update the Bicep module to allow both 'Enabled' and 'VirtualNetworkInherited' as valid values for the protectionMode property in the ddosSettingsType configuration.

(Optional) Correlation Id

No response

Metadata

Metadata

Type

No type

Projects

Status

Needs: Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions