» azurerm_logic_app_workflow

Manages a Logic App Workflow.

» Example Usage

resource "azurerm_resource_group" "example" {
  name     = "workflow-resources"
  location = "East US"
}

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

» Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Logic App Workflow. Changing this forces a new resource to be created.

  • resource_group_name - (Required) The name of the Resource Group in which the Logic App Workflow should be created. Changing this forces a new resource to be created.

  • location - (Required) Specifies the supported Azure location where the Logic App Workflow exists. Changing this forces a new resource to be created.

  • workflow_schema - (Optional) Specifies the Schema to use for this Logic App Workflow. Defaults to https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#. Changing this forces a new resource to be created.

  • workflow_version - (Optional) Specifies the version of the Schema used for this Logic App Workflow. Defaults to 1.0.0.0. Changing this forces a new resource to be created.

  • parameters - (Optional) A map of Key-Value pairs.

  • tags - (Optional) A mapping of tags to assign to the resource.

» Attributes Reference

The following attributes are exported:

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the Logic App Workflow.
  • update - (Defaults to 30 minutes) Used when updating the Logic App Workflow.
  • read - (Defaults to 5 minutes) Used when retrieving the Logic App Workflow.
  • delete - (Defaults to 30 minutes) Used when deleting the Logic App Workflow.

» Import

Logic App Workflows can be imported using the resource id, e.g.

terraform import azurerm_logic_app_workflow.workflow1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1