'Error creating Liquid Map on Azure with Terraform
I'm trying to create a Liquid Map on Azure using Terraform trough the resource "azurerm_logic_app_integration_account_map" but I'm getting the error saying that the Liquid needs a content-type "text/plain" to be set.
Message="The 'contentType' property of map 'templateResponse' of type 'Liquid' must be set to 'text/plain'."
I've already tried to add the contentType to the resource properties but it is unknown to Terraform.
An argument named "contentType" is not expected here.
What am I missing?
Here is the code:
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")
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
