Skip to content

Commit

Permalink
fix public ip allocation for gpu nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
cyril-k committed Nov 6, 2024
1 parent aee5d13 commit 08f669c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s-inference/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ resource "nebius_mk8s_v1_node_group" "gpu" {
network_interfaces = [
{
subnet_id = var.subnet_id
public_ip = var.gpu_nodes_assign_public_ip ? {} : null
public_ip_address = var.gpu_nodes_assign_public_ip ? {} : null
}
]
resources = {
Expand Down
2 changes: 1 addition & 1 deletion k8s-training/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ resource "nebius_mk8s_v1_node_group" "gpu" {
network_interfaces = [
{
subnet_id = var.subnet_id
public_ip = var.gpu_nodes_assign_public_ip ? {} : null
public_ip_address = var.gpu_nodes_assign_public_ip ? {} : null
}
]
resources = {
Expand Down

0 comments on commit 08f669c

Please sign in to comment.