# resource "hcloud_primary_ip" "main_ipv4" { # name = "pip-${var.server_name}-ipv4" # type = "ipv4" # assignee_type = "server" # auto_delete = false # assignee_id = hcloud_server.server.id # labels = merge( # var.labels, # { "Resource_Type" = "Primary_IP" } # ) # } # resource "hcloud_primary_ip" "main_ipv6" { # name = "pip-${var.server_name}-ipv6" # type = "ipv6" # assignee_type = "server" # assignee_id = hcloud_server.server.id # auto_delete = false # labels = merge( # var.labels, # { "Resource_Type" = "Primary_IP" } # ) # }