-
Notifications
You must be signed in to change notification settings - Fork 522
Open
Labels
Class: Resource Module 📦This is a resource moduleThis is a resource moduleType: AVM 🅰️ ✌️ Ⓜ️This is an AVM related issueThis is an AVM related issueType: Bug 🐛Something isn't workingSomething isn't working
Description
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
Assignees
Labels
Class: Resource Module 📦This is a resource moduleThis is a resource moduleType: AVM 🅰️ ✌️ Ⓜ️This is an AVM related issueThis is an AVM related issueType: Bug 🐛Something isn't workingSomething isn't working
Type
Projects
Status
Needs: Triage