Skip to content

Commit 71d3d90

Browse files
authored
fix: update Service Bus SKU property from Tier to Name (#3157)
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.
1 parent 60e232a commit 71d3d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/snippets/azure/AppHost/Program.ConfigureServiceBusInfra.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static void ConfigureServiceBusInfra(IDistributedApplicationBuilder build
1414

1515
serviceBusNamespace.Sku = new ServiceBusSku
1616
{
17-
Tier = ServiceBusSkuTier.Premium
17+
Name = ServiceBusSkuName.Premium
1818
};
1919
serviceBusNamespace.Tags.Add("ExampleKey", "Example value");
2020
});

0 commit comments

Comments
 (0)