Skip to content

Commit

Permalink
r/media_services_account: tags are unsupported due to an api bug (#4537)
Browse files Browse the repository at this point in the history
Fixes #4536
  • Loading branch information
katbyte committed Oct 7, 2019
2 parents e0a4adf + 9d6b1d4 commit 7204de9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azurerm/resource_arm_media_services_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 7204de9

Please sign in to comment.