smutel / terraform-provider-netbox

Terraform provider for Netbox
ISC License
58 stars 19 forks source link

enh: Refactor into separate sub directories #161

Closed amhn closed 1 year ago

amhn commented 1 year ago

fixes #165 This PR does a bit of refactoring.

To keep the netbox/ folder in this repos more organized, resources and data sources are moved into subfolders.

util.go is split into multiple files/modules to keep separate funtionality apart.

TagSchema is introduced and set for the tag attribute for all resources.