Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r/media_services_account: tags are unsupported due to an api bug #4537

Merged
merged 1 commit into from
Oct 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

This comment was marked as outdated.

// return tags.FlattenAndSet(d, resp.Tags)
return nil
}

func resourceArmMediaServicesAccountDelete(d *schema.ResourceData, meta interface{}) error {
Expand Down