Skip to content

fix: update Service Bus SKU property from Tier to Name #3157

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

Conversation

gabynevada
Copy link
Contributor

@gabynevada gabynevada commented Apr 24, 2025

Summary

The ConfigureServiceBusInfra snippet uses the Tier property to configure the Sku but this generates incorrect bicep when trying to deploy via azd and azure publisher. It should use the Name property instead.

Fixes #3158

The ConfigureServiceBusInfra uses the Tier property to configure the Sku but this generates incorrect bicep when trying to deploy via azd and azure publisher. It should use the Name property instead.
Copy link
Member

@IEvangelist IEvangelist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gabynevada Great catch—this is awesome, thank you! Could you please run the app host with the publish profile? It will emit the updated Bicep too, along with this change?

@gabynevada
Copy link
Contributor Author

@IEvangelist no problem! And yes, ran it with the publish profile as well and it emits the correct bicep with this change.

@IEvangelist
Copy link
Member

@IEvangelist no problem! And yes, ran it with the publish profile as well and it emits the correct bicep with this change.

Just let me know when you update the PR. Thanks again.

@gabynevada
Copy link
Contributor Author

@IEvangelist my apologies, after some digging around foound the publish profile you meant.

Ran it but it did not emit any changes, the AppHost is not calling the ConfigureServiceBusInfra extension method so it will not recognize the change for the bicep generation.

@IEvangelist IEvangelist merged commit 71d3d90 into dotnet:main Apr 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Service bus integration customize sku sample documentation incorrect
2 participants