-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
API Spec link
API Spec version
2025-11-01-preview
Describe the bug
Not sure where to submit this so hope this is the right place. When we use Bicep to create a Cosmos Database account we do not setup up ipRules. We a have a separate process which does this after a deployment. We do understand we could set the ipRules via bicep but it works out for us better the other way. However when we re-deploy the account with our ipRules se the re-deploy removes all of our ipRules even when we do not pass a property value for ipRules. This seems odd to us as Bicep is supposed to be idempotent.
Expected behavior
In our a case a re-deploy should not remove our ipRules if no value is passed.
Actual behavior
See above
Reproduction Steps
- Create a cosmos account
- Set the ipRules (add a public ip for example)
- Redeploy
- ipRules are gone.
Environment
Latest version of bicep
Metadata
Metadata
Assignees
Labels
bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that