Skip to content

patch (iac): [secure-hybrid-network] fix subnet sizing#265

Open
ferantivero wants to merge 2 commits into
patch/421252_batch-fixesfrom
patch/421252_fix-subnet-sizing
Open

patch (iac): [secure-hybrid-network] fix subnet sizing#265
ferantivero wants to merge 2 commits into
patch/421252_batch-fixesfrom
patch/421252_fix-subnet-sizing

Conversation

@ferantivero
Copy link
Copy Markdown
Contributor

Why

Bastion subnet at /29 (8 IPs) fails deployment — Azure requires minimum /26 (64 IPs). Spoke subnet consuming the entire /16 VNet address space leaves no room for future subnets.

What

  • Fix Bastion subnet from /29 to /26
  • Reduce spoke subnet from /16 to /24

Test

  • Bicep compiles without errors
  • Bastion subnet meets Azure minimum /26 requirement

ferantivero and others added 2 commits May 18, 2026 11:31
Azure Bastion requires a minimum subnet size of /26. The azure-network
template used /29 and mock-onprem used /27, both too small.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The spoke subnet previously consumed the entire VNet address space
(/16), leaving no room for additional subnets. Shrink to /24 to
allow future subnet additions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant