Terraform-IaC/template/hetzner-infra/modules/server/primary_ip.tf
Oscar Blue d03573a6ad
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful
Moved templates
2023-07-09 17:05:29 +01:00

23 lines
No EOL
620 B
HCL

# 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" }
# )
# }