Skip to content

support for granular subnet and tags#2538

Open
WWZZ wants to merge 1 commit intoe2b-dev:mainfrom
WWZZ:support_granular_subnets
Open

support for granular subnet and tags#2538
WWZZ wants to merge 1 commit intoe2b-dev:mainfrom
WWZZ:support_granular_subnets

Conversation

@WWZZ
Copy link
Copy Markdown
Contributor

@WWZZ WWZZ commented May 1, 2026

We need to support granular subnets and tags, this pr allows those be configurable per mig so that each of them can be overridden

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 96d37eb7e3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

network = var.network_name
nic_type = var.network_interface_type
network = var.network_name
subnetwork = var.subnetwork_name
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Normalize empty subnetwork override before template apply

subnetwork is now wired directly from var.subnetwork_name, but the new .env.gcp.template examples set subnetwork_name to ""; that propagates an explicit empty string into network_interface.subnetwork instead of omitting the field. In this configuration path (build/client cluster JSON overrides), Terraform will attempt to apply an empty subnetwork value rather than the previous default-network behavior, which can break applies for users who copy the template defaults. Convert empty strings to null before assigning subnetwork (as is already done for server/api/clickhouse/loki locals).

Useful? React with 👍 / 👎.

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