Skip to content

Commit

Permalink
Update documentation for virtual_disk with correct schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabri MJAHED authored and fbreckle committed Sep 26, 2024
1 parent 700b690 commit a4e9def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/virtual_disk.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "netbox_virtual_machine" "base_vm" {
resource "netbox_virtual_disk" "example" {
name = "disk-01"
description = "Main disk"
size = 50
size_gb = 50
virtual_machine_id = netbox_virtual_machine.base_vm.id
}
```
Expand Down
2 changes: 1 addition & 1 deletion examples/resources/netbox_virtual_disk/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ resource "netbox_virtual_machine" "base_vm" {
resource "netbox_virtual_disk" "example" {
name = "disk-01"
description = "Main disk"
size = 50
size_gb = 50
virtual_machine_id = netbox_virtual_machine.base_vm.id
}

0 comments on commit a4e9def

Please sign in to comment.