microsoft / microsoft/sql-server-samples

prepareSubnet.ps1 expects Subnet and SQL MI to be on the same ResourceGroup

Open
#745 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Description

Our Subnet is on a Site-to-Site VPN that is managed by a different team and which has it's own Resource Group.

So, we had to create our SQL MI machine on a different Resource Group that we control.

Because of this the current implementation of prepareSubnet.ps1 returns an error until I hack the script to add another parameter.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with prepareSubnet.ps1 and inspect how it determines the Subnet and SQL MI resource groups, especially the parameter handling that currently requires them to match. Done means the script supports a subnet managed in a different Resource Group without requiring an additional manual modification.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell, sql
Domain
cloud, networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.