Add initial Terraform module structure for firewall and network
Some checks failed
Terraform Plan / plan (push) Failing after 0s

- Created main.tf, output.tf, and variables.tf for the firewall module.
- Created main.tf, output.tf, and variables.tf for the network module.
- Added provider configuration for Hetzner Cloud and NetBox in provider.tf.
- Defined sensitive variables for Hetzner API token, NetBox URL, and NetBox API token in variables.tf.
This commit is contained in:
2025-12-23 22:25:20 +01:00
parent 17d326768b
commit 94538ef540
18 changed files with 3431 additions and 0 deletions

21
terraform/provider.tf Normal file
View File

@@ -0,0 +1,21 @@
terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "1.57.0"
}
netbox = {
source = "e-breuninger/netbox"
version = "5.0.0"
}
}
}
provider "hcloud" {
token = var.hetzner_api_token
}
provider "netbox" {
server_url = var.netbox_url
api_token = var.netbox_api_token
}