Skip to content

Commit 2c72db0

Browse files
committed
feat(iac): Fix to include server in nodes output
1 parent 50968c1 commit 2c72db0

File tree

1 file changed

+1
-1
lines changed
  • deployment/terraform/modules/openstack-kubernetes-infra

1 file changed

+1
-1
lines changed

deployment/terraform/modules/openstack-kubernetes-infra/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
output "created_hosts" {
3-
value = { for k, value in openstack_compute_instance_v2.kubernetes_nodes : k => {
3+
value = { for k, value in merge(openstack_compute_instance_v2.kubernetes_nodes, [openstack_compute_instance_v2.kubernetes_server]) : k => {
44
ip_address = value.access_ip_v4
55
unique_name = value.name
66
name = k

0 commit comments

Comments
 (0)