From 3dbd4a80597e8ff362ea4e051252cdd91af97874 Mon Sep 17 00:00:00 2001 From: magodo Date: Mon, 17 May 2021 04:04:09 +0800 Subject: [PATCH] `azurerm_virtual_machine_scale_set` DS - adjust the schemas to be Computed (#11712) --- .../internal/services/compute/virtual_machine_scale_set.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azurerm/internal/services/compute/virtual_machine_scale_set.go b/azurerm/internal/services/compute/virtual_machine_scale_set.go index 3b36cf319e3a..4c4a4177da4d 100644 --- a/azurerm/internal/services/compute/virtual_machine_scale_set.go +++ b/azurerm/internal/services/compute/virtual_machine_scale_set.go @@ -324,7 +324,7 @@ func virtualMachineScaleSetIPConfigurationSchema() *schema.Schema { func virtualMachineScaleSetIPConfigurationSchemaForDataSource() *schema.Schema { return &schema.Schema{ Type: schema.TypeList, - Required: true, + Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "name": { @@ -448,7 +448,7 @@ func virtualMachineScaleSetPublicIPAddressSchema() *schema.Schema { func virtualMachineScaleSetPublicIPAddressSchemaForDataSource() *schema.Schema { return &schema.Schema{ Type: schema.TypeList, - Optional: true, + Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "name": {