added stuff
Some checks failed
Terraform Plan / plan (push) Failing after 0s

This commit is contained in:
2025-12-24 15:03:36 +01:00
parent 108b6d1806
commit c48a89c768
9 changed files with 316 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "1.57.0"
}
netbox = {
source = "e-breuninger/netbox"
version = "5.0.0"
}
}
}
resource "hcloud_network" "privnet" {
name = "privnet"
ip_range = "10.0.0.0/8"
labels = {
environment = "production"
}
}
resource "hcloud_network_subnet" "privsubnet" {
network_id = hcloud_network.privnet.id
type = "cloud"
network_zone = "eu-central"
ip_range = "10.0.1.0/24"
}