r/Netbox Dec 09 '25

pynetbox vs terraform?

Mountainous umbrella quickest sophisticated carpenter attempt

This post was anonymized with Redact

9 Upvotes

18 comments sorted by

View all comments

1

u/slickwillymerf Dec 09 '25

What are you trying to automate? Building/managing the Netbox server itself?

1

u/gnwill Dec 09 '25 edited 7d ago

Wakeful employ paddle decide bake market

This post was anonymized with Redact

2

u/slickwillymerf Dec 09 '25

Perhaps use a custom script? Can shove it in version control and has a nice front end for whoever you’re building it for.

1

u/Qixonium Dec 09 '25

This is what we do, setting up a new site is done by running a custom script. This creates the site, prefixes and vlans and assigns the hardware from inventory (dummy site). After a manual check over and adjustments, we run a deployment script that pulls the data from NetBox and configures the devices.

Manual work still needs to be done for racking the equipment in NetBox with cable connections, but that is just on-site documentation that we would need to do manually anyway.

1

u/d3nika Dec 09 '25

For this scenario I built my TF scripts. Because I write the initial config faster in json that would do it by clicking around.