Derive the site from the config path and split out global objects #1
Reference in New Issue
Block a user
Delete Branch "benvin/initial-netbox"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
NetBox holds device types, roles, platforms and custom fields globally, yet they were declared per-site, and the site slug was repeated in YAML under a path that already names it. A second region/dc would collide on every global object.
config/<region>/<dc>; terragrunt passessite_slugsites.yamlwithsite.yaml; dropsite:/sites:from subnets, network-devices, vlans, network-profilesconfig/global+modules/netbox-global, own unit and stateInitial terraform-netbox: NetBox prefixes, devices, platforms, custom fieldsto Own only the NetBox catalogueOwn only the NetBox catalogueto Add terraform-netbox: YAML-driven NetBox catalogueAdd terraform-netbox: YAML-driven NetBox catalogueto Derive the site from the config path and split out global objectsView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.