diff --git a/modules/node/output.tf b/modules/node/output.tf index ccb6ed9..fa6e5b6 100644 --- a/modules/node/output.tf +++ b/modules/node/output.tf @@ -7,5 +7,5 @@ output "nodes" { instance.name => {"id" = instance.id, "internal_ip" = instance.access_ip_v4, - "floating_ip" = var.assign_floating_ip ? openstack_networking_floatingip_v2.floating_ip[index(openstack_compute_instance_v2.instance, instance)].address : ""} } + "floating_ip" = var.assign_floating_ip ? nonsensitive(openstack_networking_floatingip_v2.floating_ip[index(openstack_compute_instance_v2.instance, instance)].address) : ""} } } diff --git a/modules/rke/output.tf b/modules/rke/output.tf index fcd150d..66de6b2 100644 --- a/modules/rke/output.tf +++ b/modules/rke/output.tf @@ -11,4 +11,5 @@ locals { output "rke_cluster" { value = local.rke_cluster description = "RKE cluster spec" + sensitive = true } diff --git a/output.tf b/output.tf index c84413f..f935ff3 100644 --- a/output.tf +++ b/output.tf @@ -7,19 +7,16 @@ output "keypair_name" { output "master_nodes" { value = module.master.nodes description = "The master nodes" - sensitive = "true" } output "edge_nodes" { value = module.edge.nodes description = "The edge nodes" - sensitive = "true" } output "worker_nodes" { value = module.worker.nodes description = "The worker nodes" - sensitive = "true" } output "rke_cluster" { @@ -31,11 +28,9 @@ output "rke_cluster" { output "nodes_subnet" { value = module.network.nodes_subnet description = "The nodes subnet" - sensitive = "true" } output "loadbalancer_floating_ip" { value = var.enable_loadbalancer ? module.loadbalancer[0].floating_ip : "" description = "The floating ip of the loadbalancer" - sensitive = "true" }