Files
infrastructure/terraform/provider.tf
Noah b85b3008b0
Some checks failed
Terraform CI/CD / terraform (push) Failing after 15s
a
2025-12-23 17:43:24 +01:00

33 lines
585 B
HCL

terraform {
required_providers {
hcloud = {
source = "hetznercloud/hcloud"
version = "1.57.0"
}
netbox = {
source = "e-breuninger/netbox"
version = "5.0.0"
}
}
}
variable NETBOX_API_TOKEN {
type = string
description = "netbox api token"
sensitive = true
}
variable HETZNER_API_TOKEN {
type = string
description = "hetzner cloud api token"
sensitive = true
}
provider "netbox" {
server_url = var.NETBOX_SERVER_URL
api_token = var.NETBOX_API_TOKEN
}
provider "hcloud" {
token = var.HETZNER_API_TOKEN
}