terraform-provider-azurerm
terraform-provider-azurerm copied to clipboard
Support for Private Endpoint Connections in Media Service Account
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
This looks fun 🙃 , I'll take a stab at it
@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.

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"
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.
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
@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 ?