Skip to content

Check for default subnet (not just VPC) when creating an instance - #3425

Merged
charliepark merged 1 commit into
mainfrom
check-for-default-subnet
Oct 26, 2026
Merged

charliepark merged 1 commit into
mainfrom
check-for-default-subnet

Conversation

@charliepark

Copy link
Copy Markdown
Contributor

When a project doesn't have a default VPC and default subnet — that is, with the literal name default, not just marked as the default VPC/subnet — the instance creation process will have trouble if the user has selected the default networking option. Currently, we DO check to make sure there's a default VPC, but we aren't checking for the default subnet.

This PR updates that check so that both the VPC and subnet are required. If they aren't both present, the user can't pick the default NIC.
Screenshot 2026-10-26 at 11 28 46 AM

This is probably a pretty edge case, as the likelihood that someone HAS a default VPC (which we currently check for) but NOT a default subnet is pretty low — they would have had to change just the subnet's name away from default. But it seems like a straightforward thing to check for.

@vercel

vercel Bot commented Oct 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Oct 26, 2026 6:32pm UTC

Request Review

@charliepark charliepark changed the title Check for default subnet when creating an instance Check for default subnet (not just VPC) when creating an instance Oct 26, 2026
@charliepark
charliepark merged commit 615ac0f into main Oct 26, 2026
9 checks passed
@charliepark
charliepark deleted the check-for-default-subnet branch October 26, 2026 19:46

This branch was successfully deployed

1 active deployment
Preview — 6a4d4c37 Deployed Oct 26, 2026 by vercel[bot]
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.

2 participants