Skip to content

Allow configuring subnet_ids in Azure settings#3955

Merged
jvstme merged 4 commits into
masterfrom
issue_3931_azure_subnet_ids
Jun 11, 2026
Merged

Allow configuring subnet_ids in Azure settings#3955
jvstme merged 4 commits into
masterfrom
issue_3931_azure_subnet_ids

Conversation

@jvstme

@jvstme jvstme commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Similarly to vpc_ids, allow selecting specific
subnets to be attached to dstack VMs.

projects:
- name: main
  backends:
  - type: azure
    subscription_id: ...
    tenant_id: ...
    creds:
      type: client
      client_id: ...
      client_secret: ...
    subnet_ids:
      westeurope: my-resource-group/my-vpc/my-subnet
    regions: [westeurope]

Closes #3931

jvstme added 2 commits June 11, 2026 09:27
Similarly to `vpc_ids`, allow selecting specific
subnets to be attached to dstack VMs.

```yaml
projects:
- name: main
  backends:
  - type: azure
    subscription_id: ...
    tenant_id: ...
    creds:
      type: client
      client_id: ...
      client_secret: ...
    subnet_ids:
      westeurope: my-resource-group/my-vpc/my-subnet
    regions: [westeurope]
```
@jvstme jvstme requested a review from r4victor June 11, 2026 08:16
Comment thread mkdocs/docs/concepts/backends.md
Comment thread src/dstack/_internal/core/backends/azure/configurator.py Outdated
Comment thread src/dstack/_internal/core/backends/azure/configurator.py Outdated
jvstme and others added 2 commits June 11, 2026 09:36
@jvstme jvstme merged commit ad15e90 into master Jun 11, 2026
24 checks passed
@jvstme jvstme deleted the issue_3931_azure_subnet_ids branch June 11, 2026 09:50
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.

[Azure] Azure backend may select App Service/Functions integration subnet, causing SubnetWithExternalResourcesCannotBeUsedByOtherResources

2 participants