Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/resources/device.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "netbox_device" "test" {
- `rack_id` (Number)
- `rack_position` (Number)
- `serial` (String)
- `status` (String) Valid values are `offline`, `active`, `planned`, `staged`, `failed` and `inventory`. Defaults to `active`.
- `status` (String) Valid values are `offline`, `active`, `planned`, `staged`, `failed`, `inventory` and `decommissioning`. Defaults to `active`.
- `tags` (Set of String)
- `tenant_id` (Number)
- `virtual_chassis_id` (Number) Required when `virtual_chassis_master` and `virtual_chassis_id` is set.
Expand Down
2 changes: 1 addition & 1 deletion netbox/resource_netbox_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
)

var resourceNetboxDeviceStatusOptions = []string{"offline", "active", "planned", "staged", "failed", "inventory"}
var resourceNetboxDeviceStatusOptions = []string{"offline", "active", "planned", "staged", "failed", "inventory", "decommissioning"}
var resourceNetboxDeviceRackFaceOptions = []string{"front", "rear"}

func resourceNetboxDevice() *schema.Resource {
Expand Down
Loading