smutel / terraform-provider-netbox

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

Does this provider support maintaining Racks? #200

Closed planet closed 1 year ago

planet commented 1 year ago

Summary

Create and manage Racks

Example

There was an old provider that use to manage racks but I don't think it's available any longer. Can functionality be added to manage racks?

Usage

To create racks with terraform

Terraform code

resource "netbox_rack" "example_rack" {
  name              = "Example Rack"
  site              = "Example Site"
  facility          = "Example Facility"
  group             = "Example Group"
  width             = 19
  height            = 42
  desc_units        = "U"
  outer_unit_height = 45

  # Optional arguments
  desc              = "Example rack for testing"
  tenant            = "Example Tenant"
  comments          = "This is just an example rack."
  tags              = ["example", "testing"]
}

Tasks executed by this terraform code

Create, Read, Update, Delete