From 9d6b1d49f16ca6bdde861fe0616461e417555203 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Mon, 7 Oct 2019 10:10:08 +0200 Subject: [PATCH] r/media_services_account: tags are unsupported due to an api bug --- azurerm/resource_arm_media_services_account.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azurerm/resource_arm_media_services_account.go b/azurerm/resource_arm_media_services_account.go index edd778c23192..961f4facd18b 100644 --- a/azurerm/resource_arm_media_services_account.go +++ b/azurerm/resource_arm_media_services_account.go @@ -10,7 +10,6 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/helper/validation" "github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/azure" "github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/response" - "github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/tags" "github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils" ) @@ -136,7 +135,10 @@ func resourceArmMediaServicesAccountRead(d *schema.ResourceData, meta interface{ } } - return tags.FlattenAndSet(d, resp.Tags) + // TODO: support Tags when this bug is fixed: + // https://github.com/Azure/azure-rest-api-specs/issues/5249 + // return tags.FlattenAndSet(d, resp.Tags) + return nil } func resourceArmMediaServicesAccountDelete(d *schema.ResourceData, meta interface{}) error {