Dinesh Kumar Mohan
Dinesh Kumar Mohan

Reputation: 1

Terraform: Azure Logic Apps plan type Consumption

I'm trying to build a configuration file in Terraform to create a logic app with plan type Consumption (Multi tenant).

Attached the plan images for reference

I can find for resource "azurerm_logic_app_standard" However, I'm not able to achieve it as there aren't any Terraform resources available for azurerm_logic_app consumption

Please assist me with a solution

Upvotes: 0

Views: 1973

Answers (1)

SwethaKandikonda
SwethaKandikonda

Reputation: 8234

As mentioned by @Ansuman Bal you need to use azurerm_logic_app_workflow in order to create a consumption plan. Below is a sample that you can refer to.

resource "azurerm_logic_app_workflow" "sample" 
{
 name                = "workflow1"
 location            = azurerm_resource_group.example.location
 resource_group_name = azurerm_resource_group.example.name
}

For more information you can refer azurerm_logic_app_workflow

Upvotes: 0

Related Questions