From 32b8de7bd4f2e0d079c912d45782334a46489349 Mon Sep 17 00:00:00 2001 From: kt Date: Thu, 3 Jan 2019 19:18:39 -0800 Subject: [PATCH 1/2] fix schema panic: azurerm_managed_disk --- azurerm/data_source_managed_disk.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/azurerm/data_source_managed_disk.go b/azurerm/data_source_managed_disk.go index 4a16c8863c7c..496797a622f0 100644 --- a/azurerm/data_source_managed_disk.go +++ b/azurerm/data_source_managed_disk.go @@ -2,7 +2,6 @@ package azurerm import ( "fmt" - "github.com/hashicorp/terraform/helper/schema" "github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils" ) @@ -46,6 +45,11 @@ func dataSourceArmManagedDisk() *schema.Resource { Computed: true, }, + "create_option": { + Type: schema.TypeString, + Computed: true, + }, + "tags": tagsSchema(), }, } From 4f09f382fcd1d0bb5082073001320f4f87115c23 Mon Sep 17 00:00:00 2001 From: kt Date: Thu, 3 Jan 2019 19:36:51 -0800 Subject: [PATCH 2/2] make goimport --- azurerm/data_source_managed_disk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/azurerm/data_source_managed_disk.go b/azurerm/data_source_managed_disk.go index 496797a622f0..5b895d978e1b 100644 --- a/azurerm/data_source_managed_disk.go +++ b/azurerm/data_source_managed_disk.go @@ -2,6 +2,7 @@ package azurerm import ( "fmt" + "github.com/hashicorp/terraform/helper/schema" "github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils" )