This commit is contained in:
Karim Naufal
2021-12-03 02:11:52 +01:00
parent 61f8093951
commit 8113016f86
8 changed files with 217 additions and 43 deletions

9
output.tf Normal file
View File

@@ -0,0 +1,9 @@
output "controlplanes_public_ip" {
value = concat([hcloud_server.first_control_plane.ipv4_address], hcloud_server.control_planes.*.ipv4_address)
description = "The public IP addresses of the controlplane server."
}
output "agents_public_ip" {
value = hcloud_server.agents.*.ipv4_address
description = "The public IP addresses of the agent server."
}