【发布时间】:2021-05-24 06:12:14
【问题描述】:
尝试将我的 azure signalr 服务与私有端点集成,以下是我正在尝试的示例 terraform 代码
resource "azurerm_private_endpoint" "example" {
name = "${var.prefix}-signalr"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
subnet_id = azurerm_subnet.endpoint.id
private_service_connection {
name = "tfex-signalr-connection"
is_manual_connection = false
private_connection_resource_id = azurerm_signalr.example.id
subresource_names = ["signalR"]
}
}
当我运行它时,terraform init/plan 正在成功,但是在应用它时失败并出现以下错误
创建私有端点“signalr-02-privateendpoint”(资源组 “应用服务-windows-rg-01”): network.PrivateEndpointsClient#CreateOrUpdate:发送失败 请求:StatusCode=400 -- 原始错误:Code="BadArgument" Message="调用 Microsoft.SignalRService/SignalR 失败。错误 消息:无效的 groupId” 详细信息=[]
在 ../../../common/private-endpoint/main.tf 第 7 行,在资源中 “azurerm_private_endpoint” “generice_private_endpoint”:7:资源 “azurerm_private_endpoint” “generice_private_endpoint” {
已经创建了GitHub issue,但想联系其他社区成员是否遇到此问题/如何克服此错误
【问题讨论】:
标签: terraform terraform-provider-azure azure-signalr azure-private-link