From a4e9def7272ab64ad31f74bf04078b4b84db3c31 Mon Sep 17 00:00:00 2001 From: Sabri MJAHED Date: Wed, 25 Sep 2024 19:39:55 +0200 Subject: [PATCH] Update documentation for virtual_disk with correct schema --- docs/resources/virtual_disk.md | 2 +- examples/resources/netbox_virtual_disk/resource.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }