be53170557
Stop repeating the site slug inside the YAML: terragrunt passes the dc as site_slug and site.yaml carries only site-wide attributes. Declare device types, roles, platforms, custom fields and the dhcp IPAM role once in config/global via their own unit and state; the per-site unit looks them up by slug or name.
14 lines
233 B
Terraform
14 lines
233 B
Terraform
terraform {
|
|
required_version = ">= 1.10"
|
|
required_providers {
|
|
netbox = {
|
|
source = "e-breuninger/netbox"
|
|
version = "4.3.0"
|
|
}
|
|
vault = {
|
|
source = "hashicorp/vault"
|
|
version = "5.6.0"
|
|
}
|
|
}
|
|
}
|