Skip to content

fix: avm/res/service-bus/namespace - remove what-if noise on topics and subscriptions - #7594

Open
Varun Aggarwal (varun110032) wants to merge 2 commits into
Azure:mainfrom
varun110032:fix/servicebus-topic-whatif-noise
Open

Varun Aggarwal (varun110032) wants to merge 2 commits into
Azure:mainfrom
varun110032:fix/servicebus-topic-whatif-noise

Conversation

@varun110032

@varun110032 Varun Aggarwal (varun110032) commented Nov 6, 2026 •

Copy link
Copy Markdown

Description

Fixes #7593

  • topic: new optional namespaceSkuName param; Premium check uses (namespaceSkuName ?? namespace.sku.name). The parent passes skuObject.name so what-if can evaluate enableExpress / maxMessageSizeInKilobytes instead of flagging every topic as modified.
  • topic/subscription: duplicateDetectionHistoryTimeWindow is now nullable with no default (not persisted by the service; caused a what-if change on every run). This is listed as a breaking change in the subscription CHANGELOG because the PT10M default is removed.
  • Versions bumped: namespace 0.18, topic 0.2, topic/subscription 0.2. CHANGELOGs, main.json and READMEs regenerated with Set-AVMModule.

Validation

Equivalent change validated in a consumer deployment: what-if for topic, subscription, rule and role assignments went from Modify to NoChange.

Type of Change

  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes (topic)
    • Breaking changes (subscription: duplicateDetectionHistoryTimeWindow default removed)
    • Update to documentation

@azure-verified-modules azure-verified-modules Bot added the Needs: Module Owner 📣 This module needs an owner to develop or maintain it label Nov 6, 2026
@varun110032

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@azure-verified-modules

Copy link
Copy Markdown
Contributor

E2E tests cannot run from a fork pull request because it cannot access upstream credentials. When this contribution is ready for E2E testing, an authorized Microsoft FTE must review the current PR head and follow the release-branch handoff process. A same-repository follow-up PR can then run the credentialed tests.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue label Nov 24, 2026
…c-whatif-noise

# Conflicts:
#	avm/res/service-bus/namespace/CHANGELOG.md
#	avm/res/service-bus/namespace/main.json
#	avm/res/service-bus/namespace/topic/CHANGELOG.md
#	avm/res/service-bus/namespace/topic/main.json
#	avm/res/service-bus/namespace/topic/subscription/CHANGELOG.md
#	avm/res/service-bus/namespace/topic/subscription/main.json

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Module Owner 📣 This module needs an owner to develop or maintain it Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AVM Module Issue]: avm/res/service-bus/namespace - what-if reports every topic and subscription as modified

1 participant