Commit 650461f
fix(network): skip worker IPv6 allocation when no workers exist
Previously, when creating a cluster with only control plane nodes
(worker_count = 0), Terraform would still allocate 1 unused worker
IPv6 primary IP. This caused "Primary IP limit exceeded" errors and
wasted resources.
Changes:
- Worker IPv6: Use total_worker_count directly (no fallback to 1)
- Worker private IPs: Remove unnecessary fallback for consistency
- Aligns worker IPv6 behavior with worker IPv4 allocation
Fixes #284
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent b18ce22 commit 650461f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
0 commit comments