Add Hetzner Cloud firewall and network resources with netbox integration
This commit is contained in:
14
terraform/netbox_cluster.tf
Normal file
14
terraform/netbox_cluster.tf
Normal file
@@ -0,0 +1,14 @@
|
||||
resource "netbox_cluster_group" "hetzner" {
|
||||
description = "Hetzner Cloud Hosts"
|
||||
name = "hetzner"
|
||||
}
|
||||
|
||||
resource "netbox_cluster_type" "openstack" {
|
||||
name = "Openstack"
|
||||
}
|
||||
|
||||
resource "netbox_cluster" "hetzner_cluster" {
|
||||
cluster_type_id = netbox_cluster_type.openstack.id
|
||||
name = "Hetzner Cluster"
|
||||
cluster_group_id = netbox_cluster_group.hetzner.id
|
||||
}
|
||||
Reference in New Issue
Block a user