From dbb4daa72fb6aa960a22253f5dfe23a476108ff1 Mon Sep 17 00:00:00 2001 From: Brandon Tosch Date: Tue, 14 Mar 2017 11:40:54 -0700 Subject: [PATCH] disk_size_gb is required --- builtin/providers/azurerm/resource_arm_managed_disk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/azurerm/resource_arm_managed_disk.go b/builtin/providers/azurerm/resource_arm_managed_disk.go index 3cd677252..8aa64bcb5 100644 --- a/builtin/providers/azurerm/resource_arm_managed_disk.go +++ b/builtin/providers/azurerm/resource_arm_managed_disk.go @@ -79,7 +79,7 @@ func resourceArmManagedDisk() *schema.Resource { "disk_size_gb": { Type: schema.TypeInt, - Optional: true, + Required: true, ValidateFunc: validateDiskSizeGB, },