terraform-provider-azurerm icon indicating copy to clipboard operation
terraform-provider-azurerm copied to clipboard

Support for Private Endpoint Connections in Media Service Account

Open jcanizalez opened this issue 4 years ago • 5 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Hoping to get support for the creation and manipulation of Private Endpoint Connections in Azure Media Services Account.

New or Affected Resource(s)

  • azurerm_media_private_endpoint_connection

Potential Terraform Configuration

resource "azurerm_media_private_endpoint_connection" "connection" {
  name                              = "connection1"
  resource_group_name               = azurerm_resource_group.media.name
  media_services_account_name       = azurerm_media_services_account.ams.name
  private_link_service_connection_state {
    status = "Approved"
    description = "Test description"
  }
}

References

  • https://docs.microsoft.com/en-us/rest/api/media/privateendpointconnections

jcanizalez avatar Jan 25 '21 19:01 jcanizalez

This looks fun 🙃 , I'll take a stab at it

jackbatzner avatar Feb 10 '21 20:02 jackbatzner

@jcanizalez - Do you have any more info on this feature? I can't seem to find it in the Azure portal for a media service I have created.

Screen Shot 2021-02-10 at 9 50 16 PM

Acceptance tests in #10537 are failing due to an API error which leads me to think this may not be fully rolled out yet?

media.PrivateEndpointConnectionsClient#Get: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Private endpoint connection name is not valid"

jackbatzner avatar Feb 11 '21 03:02 jackbatzner

Thanks @brunhil let me open a ticket with Microsoft to validate this error, because in microsoft documentation request seems its working but I also was able to replicate the error that you said.

jcanizalez avatar Feb 12 '21 16:02 jcanizalez

Awesome thanks @jcanizalez ! I've also opened a ticket on the REST API specs a well, https://github.com/Azure/azure-rest-api-specs/issues/12976

jackbatzner avatar Feb 12 '21 16:02 jackbatzner

@jcanizalez , got an update from MSFT

@brunhil - This is result of private endpoint implementation not being completed yet for Azure Media Services. We are tracking towards having implementation complete in first half of this year.

Seems like this and the associated PR (#10537) should have their tags updated. Any chance someone could handle doing this @katbyte / @tombuildsstuff ?

jackbatzner avatar Feb 14 '21 18:02 jackbatzner