Skip to content

Commit a072b00

Browse files
committed
fixup access network for fixed image compute
1 parent 537c278 commit a072b00

File tree

1 file changed

+1
-1
lines changed
  • environments/skeleton/{{cookiecutter.environment}}/tofu/node_group

1 file changed

+1
-1
lines changed

environments/skeleton/{{cookiecutter.environment}}/tofu/node_group/nodes.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ resource "openstack_compute_instance_v2" "compute_fixed_image" {
8787
environment_root = var.environment_root
8888
k3s_token = var.k3s_token
8989
control_address = var.control_address
90-
access_ip = openstack_networking_port_v2.compute["${each.key}-${local.access_network_name}"].all_fixed_ips[0]
90+
access_ip = openstack_networking_port_v2.compute["${each.key}-${var.networks[0].network}"].all_fixed_ips[0]
9191
},
9292
{for e in var.compute_init_enable: e => true}
9393
)

0 commit comments

Comments
 (0)