Skip to content

Switch DTS Bicep templates from Dedicated to Consumption SKU#139

Merged
greenie-msft merged 3 commits intomainfrom
copilot/update-bicep-to-consumption-sku
Feb 19, 2026
Merged

Switch DTS Bicep templates from Dedicated to Consumption SKU#139
greenie-msft merged 3 commits intomainfrom
copilot/update-bicep-to-consumption-sku

Conversation

Copy link
Contributor

Copilot AI commented Feb 18, 2026

All sample Bicep deployments currently use the Dedicated SKU for Azure Durable Task Scheduler, which is slow to provision and expensive for evaluation/quickstart scenarios.

Changes

DTS module templates (dts.bicep - 7 files)

  • Conditional SKU object: omit capacity property for Consumption, include it for Dedicated
  • Made skuCapacity parameter optional (default: 0)
sku: skuName == 'Dedicated' ? {
  name: skuName
  capacity: skuCapacity
} : {
  name: skuName
}

Main deployment templates (main.bicep - 7 files)

  • Changed dtsSkuName default from 'Dedicated' to 'Consumption'

Affected samples

  • samples/infra/
  • samples/scenarios/AutoscalingInACA/
  • All durable-functions samples (HelloCities, PdfSummarizer, OrderProcessor, AiAgentTravelPlanOrchestrator)
  • Python pdf-summarizer

Backward Compatibility

Dedicated SKU remains available by overriding parameters:

dtsSkuName: 'Dedicated'
dtsCapacity: 3

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: /usr/local/bin/bicep bicep build dts.bicep (dns block)
    • Triggering command: /usr/local/bin/bicep bicep build dts.bicep --stdout (dns block)
  • azcliprod.blob.core.windows.net
    • Triggering command: /usr/bin/../../opt/az/bin/python3 /usr/bin/../../opt/az/bin/python3 -Im azure.cli bicep build --file dts.bicep (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Samples deploy Durable Task Scheduler with Dedicated SKU; switch Bicep to Consumption</issue_title>
<issue_description>The samples in this repo currently deploy Azure Durable Task Scheduler (DTS) using the Dedicated SKU.

Dedicated is expensive and slow to deploy, which makes the samples painful for quickstarts and developer evaluation.

Expected behavior
All sample deployments should default to the Consumption SKU instead, because it is the appropriate choice for samples/quickstarts and is cheaper + faster to provision.

What to change
Update the Bicep templates that deploy Microsoft.DurableTask/schedulers to:

  • Set the DTS SKU name to Consumption
  • Do not set sku.capacity when using Consumption (capacity applies to Dedicated; Consumption has no capacity).

Per the resource schema, sku.name supports 'Consumption' | 'Dedicated', and sku.capacity is a scale/capacity setting that should not be used for Consumption. </issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 18, 2026 23:52
Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Switch Durable Task Scheduler deployment to Consumption SKU Switch DTS Bicep templates from Dedicated to Consumption SKU Feb 18, 2026
Copilot AI requested a review from greenie-msft February 18, 2026 23:56
@greenie-msft greenie-msft marked this pull request as ready for review February 19, 2026 22:43
@greenie-msft greenie-msft merged commit a001d28 into main Feb 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Samples deploy Durable Task Scheduler with Dedicated SKU; switch Bicep to Consumption

2 participants

Comments