Fediversity/deployment/run/tf-netbox-get-ip/main.tf
Kiara Grouwstra be83e34f9b
WIP: add netbox
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
2025-10-30 20:39:57 +01:00

17 lines
277 B
HCL

terraform {
required_providers {
netbox = {
source = "e-breuninger/netbox"
version = "= 5.0.0"
}
}
backend "http" {
}
}
resource "netbox_available_ip_address" "get_ip" {
}
output "ipv4" {
value = netbox_available_ip_address.get_ip.ip_address
}