Skip to content

Commit

Permalink
feat: add custom fields to available_prefix resource
Browse files Browse the repository at this point in the history
Signed-off-by: Xabier Napal <[email protected]>
  • Loading branch information
xabinapal committed Dec 24, 2024
1 parent 4f86408 commit 37021d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/resources/available_prefix.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ resource "netbox_available_prefix" "test" {

### Optional

- `custom_fields` (Map of String)
- `description` (String)
- `is_pool` (Boolean)
- `mark_utilized` (Boolean)
Expand Down
1 change: 1 addition & 0 deletions netbox/resource_netbox_available_prefix.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func resourceNetboxAvailablePrefix() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
},
customFieldsKey: customFieldsSchema,
tagsKey: tagsSchema,
},
Importer: &schema.ResourceImporter{
Expand Down

0 comments on commit 37021d8

Please sign in to comment.