output public ips
This commit is contained in:
parent
e4c810dea7
commit
3c3f64cdfa
2 changed files with 13 additions and 1 deletions
|
|
@ -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" {
|
||||
|
|
|
|||
12
06-ha.tf
12
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
|
||||
}
|
||||
Loading…
Reference in a new issue