» azurerm_logic_app_workflow
Manages a Logic App Workflow.
» Example Usage
resource "azurerm_resource_group" "test" {
name = "workflow-resources"
location = "East US"
}
resource "azurerm_logic_app_workflow" "test" {
name = "workflow1"
location = "${azurerm_resource_group.test.location}"
resource_group_name = "${azurerm_resource_group.test.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 tohttps://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 to1.0.0.0
. Changing this forces a new resource to be create.d -
parameters
- (Optional) A map of Key-Value pairs.
NOTE: Any parameters specified must exist in the Schema defined in workflow_schema
.
-
tags
- (Optional) A mapping of tags to assign to the resource.
» Attributes Reference
The following attributes are exported:
-
id
- The Logic App Workflow ID. -
access_endpoint
- The Access Endpoint for 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