From 3c3f64cdfa68b1e8ef5ec1776d5ecf22666ebeca Mon Sep 17 00:00:00 2001 From: Mauritz Uphoff Date: Thu, 12 Jun 2025 13:03:16 +0200 Subject: [PATCH] output public ips --- 01-config.tf | 2 +- 06-ha.tf | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/01-config.tf b/01-config.tf index 7f5b5f2..95fb762 100644 --- a/01-config.tf +++ b/01-config.tf @@ -16,7 +16,7 @@ variable "stackit_service_account_key_path" { variable "debian_image" { type = string - default = "b641bf53-4dd4-4ba9-a1ff-9739920fbe73" + default = "b7aedfad-3be7-46e0-9ece-19fd50e2d83e" } resource "stackit_key_pair" "admin_keypair" { diff --git a/06-ha.tf b/06-ha.tf index 181c8b4..055a022 100644 --- a/06-ha.tf +++ b/06-ha.tf @@ -8,3 +8,15 @@ resource "stackit_public_ip" "vip01-wan" { project_id = var.stackit_project_id network_interface_id = stackit_network_interface.vip01.network_interface_id } + +output "example01-wan-ip" { + value = stackit_public_ip.example01-wan.ip +} + +output "example02-wan-ip" { + value = stackit_public_ip.example02-wan.ip +} + +output "vip01-wan-ip" { + value = stackit_public_ip.vip01-wan.ip +} \ No newline at end of file