繁体   English   中英

使用 Terraform 在 Azure 上创建 Liquid Map 时出错

[英]Error creating Liquid Map on Azure with Terraform

我正在尝试通过资源“azurerm_logic_app_integration_account_map”使用 Terraform 在 Azure 上创建 Liquid Map,但我收到错误消息,指出 Liquid 需要设置内容类型“text/plain”。

Message="map 'templateResponse' 类型 'Liquid' 的 'contentType' 属性必须设置为 'text/plain'。"

我已经尝试将 contentType 添加到资源属性,但 Terraform 不知道它。

此处不应使用名为“contentType”的参数。

我错过了什么?

这是代码:

resource "azurerm_logic_app_integration_account_map" "templateRequest" {
  name                     = "templateRequest"
  resource_group_name      = local.platform_core_rg
  integration_account_name = local.integration_account_name
  map_type                 = "Liquid"
  content                  = file("${path.module}/liquid/templateRequest.liquid")
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM