Azure Logic App Action Custom
This page shows how to write Terraform and Azure Resource Manager for Logic App Action Custom and write them securely.
azurerm_logic_app_action_custom (Terraform)
The Action Custom in Logic App can be configured in Terraform with the resource name azurerm_logic_app_action_custom
. The following sections describe 10 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_logic_app_action_custom" "action" {
name = var.name
logic_app_id = var.logic_app_id
body = var.body
}
resource "azurerm_logic_app_action_custom" "cloudquickpocslogicappcustomaction" {
name = "cloudquickpoclogicapp1-Custom-action-1"
logic_app_id = azurerm_logic_app_workflow.cloudquickpocslogicapp.id
body = <<BODY
{
resource "azurerm_logic_app_action_custom" "cloudquickpocslogicappcustomaction" {
name = "cloudquickpoclogicapp1-Custom-action-1"
logic_app_id = azurerm_logic_app_workflow.cloudquickpocslogicapp.id
body = <<BODY
{
resource "azurerm_logic_app_action_custom" "action" {
name = var.name
logic_app_id = var.logic_app_id
body = var.body
}
resource "azurerm_logic_app_action_custom" "this" {
body = var.body
logic_app_id = var.logic_app_id
name = var.name
dynamic "timeouts" {
resource "azurerm_logic_app_action_custom" "this" {
body = var.body
logic_app_id = var.logic_app_id
name = var.name
dynamic "timeouts" {
resource "azurerm_logic_app_action_custom" "cloudquickpocslogicappcustomaction" {
name = "cloudquickpoclogicapp1-Custom-action-1"
logic_app_id = azurerm_logic_app_workflow.cloudquickpocslogicapp.id
body = <<BODY
{
resource "azurerm_logic_app_action_custom" "laac" {
name = azurecaf_name.laac.result
logic_app_id = var.logic_app_id
body = var.settings.body
}
resource "azurerm_logic_app_action_custom" "laac" {
name = azurecaf_name.laac.result
logic_app_id = var.logic_app_id
body = var.settings.body
}
resource "azurerm_logic_app_action_custom" "logic-app-response" {
name = "HTTP_Response"
logic_app_id = azurerm_logic_app_workflow.logic-app-workflow.id
body = <<BODY
{
"inputs": {
Parameters
-
body
required - string -
id
optional computed - string -
logic_app_id
required - string -
name
required - string -
timeouts
single block
Explanation in Terraform Registry
Manages a Custom Action within a Logic App Workflow
Microsoft.Logic/workflows (Azure Resource Manager)
The workflows in Microsoft.Logic can be configured in Azure Resource Manager with the resource name Microsoft.Logic/workflows
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
"values" : [ "Microsoft.Logic/workflows" ]
}, {
"not" : false,
"property" : "primary_aggregation_type",
"values" : [ "true" ]
} ],
"values" : [ "Microsoft.Logic/workflows" ]
}, {
"not" : false,
"property" : "primary_aggregation_type",
"values" : [ "true" ]
} ],
"type": "Microsoft.Logic/workflows",
"apiVersion": "2016-06-01",
"name": "name",
"properties": {}
}
},
"type": "Microsoft.Logic/workflows",
"apiVersion": "2017-07-01",
"name": "[concat('Planif-CalculMassif-', parameters('HeliosEnvironnementName'), '-al')]",
"location": "[resourceGroup().location]",
"tags": {
"displayName": "Planif_CalculMassif"
"propertyValue" : "Microsoft.Logic/workflows",
"query" : "resource_type:\"Microsoft.Logic/workflows\"",
"type" : "property",
"value" : "Microsoft.Logic/workflows"
}, {
"NOT" : false,
"propertyValue" : "Microsoft.Logic/workflows",
"query" : "resource_type:\"Microsoft.Logic/workflows\"",
"type" : "property",
"value" : "Microsoft.Logic/workflows"
}, {
"NOT" : false,
"type": "Microsoft.Logic/workflows",
"location": "[parameters('logicAppLocation')]",
"apiVersion": "2016-06-01",
"dependsOn": [
"[resourceId('Microsoft.Web/connections', parameters('outlook_1_Connection_Name'))]",
"[resourceId('Microsoft.Web/connections', parameters('telesignsms_1_Connection_Name'))]"
Parameters
type
required - stringapiVersion
required - stringid
optional - stringThe resource id.
name
optional - stringGets the resource name.
location
optional - stringThe resource location.
tags
optional - stringThe resource tags.
properties
requiredstate
optional - stringThe state.
integrationAccount
optionalid
optional - stringThe resource id.
parameters
optional - undefinedThe parameters.
Frequently asked questions
What is Azure Logic App Action Custom?
Azure Logic App Action Custom is a resource for Logic App of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Logic App Action Custom?
For Terraform, the anmoltoppo/Terraform, RekhuGopal/PythonHacks and seeewhy/PythonHacks source code examples are useful. See the Terraform Example section for further details.
For Azure Resource Manager, the signalfx/content-discovery-experimental, signalfx/content-discovery-staging and Azure/autorest.azureresourceschema source code examples are useful. See the Azure Resource Manager Example section for further details.