{"id":22448198,"url":"https://github.com/ridwanbejo/terraform-netbox-tenancy","last_synced_at":"2025-03-27T11:28:58.514Z","repository":{"id":218667289,"uuid":"747040816","full_name":"ridwanbejo/terraform-netbox-tenancy","owner":"ridwanbejo","description":"Terraform module for managing Netbox tenancy config","archived":false,"fork":false,"pushed_at":"2024-01-23T06:45:14.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T16:12:14.858Z","etag":null,"topics":["automation","devops","hashicorp","hcl","iac","infrastructure-as-code","ipam","netbox","network","sysadmin","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ridwanbejo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-23T06:24:20.000Z","updated_at":"2024-08-15T22:05:30.000Z","dependencies_parsed_at":"2024-01-23T07:46:38.045Z","dependency_job_id":null,"html_url":"https://github.com/ridwanbejo/terraform-netbox-tenancy","commit_stats":null,"previous_names":["ridwanbejo/terraform-netbox-tenancy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-netbox-tenancy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-netbox-tenancy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-netbox-tenancy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridwanbejo%2Fterraform-netbox-tenancy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ridwanbejo","download_url":"https://codeload.github.com/ridwanbejo/terraform-netbox-tenancy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245835449,"owners_count":20680207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","devops","hashicorp","hcl","iac","infrastructure-as-code","ipam","netbox","network","sysadmin","terraform"],"created_at":"2024-12-06T04:21:45.540Z","updated_at":"2025-03-27T11:28:58.493Z","avatar_url":"https://github.com/ridwanbejo.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Netbox Tenancy\n\nThis is a Terraform module for managing tenancy configuration at Netbox. You can use this module both for commercial or non-commercial purposes.\n\nCurrently, you can manage these resources in Netbox by using this module:\n\n- contact\n- contact_assignment\n- contact_group\n- contact_role\n- tenant\n- tenant_group\n\nTested in:\n\n- Netbox Community (localhost)\n\n## A. Prerequisites\n\nRequirements:\n\n- Terraform with version \u003e= 1.4\n\n## B. How to use this module for your Terraform project ?\n\nYou can check any examples projects that use this module under `examples` directory.\n\n- config-1-basic\n- contact-1-basic\n- contact-2-assignment\n- contact-3-multiple\n- tenant-1-basic\n- tenant-2-multiple\n\n## C. Understanding tfvars scenarios\n\nYou can check any examples tfvars that use this module under `examples` directory.\n\n- config-1-basic\n- contact-1-basic\n- contact-2-assignment\n- contact-3-multiple\n- tenant-1-basic\n- tenant-2-multiple\n\n## D. Ensuring quality\n\nI am trying to follow these approaches for ensuring quality of the tf-module:\n\n- **validate**, ensure my Terraform module is in correct configuration based on Terraform guideline\n- **auto-format**, ensure my Terraform script is edited with correct format based on Terraform guideline\n- **linter**, ensure my Terraform script is in correct format based on Terraform guideline\n- **security**, ensure my Terraform module is free from CVE and stay compliance\n- **automation**, run all above steps by using automation tool to improve development time and keep best quality before or after merging to Git repository\n\n\nThe tools:\n\n- [terraform validate](https://developer.hashicorp.com/terraform/cli/commands)\n- [terraform fmt](https://developer.hashicorp.com/terraform/cli/commands)\n- [tflint](https://github.com/terraform-lint48ers/tflint)\n- [tfsec](https://github.com/aquasecurity/tfsec)\n- [Pre-commit](https://pre-commit.com/)\n- Github Action [Setup Terraform pipeline](https://github.com/hashicorp/setup-terraform)\n\n## E. How to contribute ?\n\nIf you find any issue, you can raise it here at our [Issue Tracker](https://github.com/ridwanbejo/terraform-netbox-tenancy/issues)\n\nIf you have something that you want to merge to this repo, just raise [Pull Requests](https://github.com/ridwanbejo/terraform-netbox-tenancy/pulls)\n\nEnsure that you install all the tools from section D. for development purpose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridwanbejo%2Fterraform-netbox-tenancy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridwanbejo%2Fterraform-netbox-tenancy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridwanbejo%2Fterraform-netbox-tenancy/lists"}