You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Azure rm endpoint can connect to many different endpoint type and each needs a different permission e.g. a redis cache requires "Microsoft.Cache/redis/PrivateEndpointConnectionsApproval/action".
So you can either add them all, none or somehow inspect the endpoint resource to determine what it needs:
`resource "azurerm_private_endpoint" "pike" {
resource_group_name = "pike"
location = "uksouth"
subnet_id = "/subscriptions/037ce662-dfc1-4b8b-a8a7-6c414b540ed6/resourceGroups/pike/providers/Microsoft.Network/virtualNetworks/pike/subnets/pike"
name = "pike"
private_service_connection {
private_connection_resource_id = azurerm_redis_cache.pike.id
is_manual_connection = false
name = "cachy"
subresource_names = [
"redisCache",
]
}
Azure rm endpoint can connect to many different endpoint type and each needs a different permission e.g. a redis cache requires "Microsoft.Cache/redis/PrivateEndpointConnectionsApproval/action".
So you can either add them all, none or somehow inspect the endpoint resource to determine what it needs:
`resource "azurerm_private_endpoint" "pike" {
resource_group_name = "pike"
location = "uksouth"
subnet_id = "/subscriptions/037ce662-dfc1-4b8b-a8a7-6c414b540ed6/resourceGroups/pike/providers/Microsoft.Network/virtualNetworks/pike/subnets/pike"
name = "pike"
private_service_connection {
private_connection_resource_id = azurerm_redis_cache.pike.id
is_manual_connection = false
name = "cachy"
subresource_names = [
"redisCache",
]
}
}`
The text was updated successfully, but these errors were encountered: