diff --git a/docs/resources/virtual_disk.md b/docs/resources/virtual_disk.md index 4e73693a..d5401453 100644 --- a/docs/resources/virtual_disk.md +++ b/docs/resources/virtual_disk.md @@ -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 } ``` diff --git a/examples/resources/netbox_virtual_disk/resource.tf b/examples/resources/netbox_virtual_disk/resource.tf index 9eef2873..e628e584 100644 --- a/examples/resources/netbox_virtual_disk/resource.tf +++ b/examples/resources/netbox_virtual_disk/resource.tf @@ -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 }