Testing ARM Templates with Pester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"logicAppName1": { | |
"type": "string", | |
"metadata": { | |
"description": "First part of the Logic App." | |
} | |
}, | |
"logicAppName2": { | |
"type": "string", | |
"metadata": { | |
"description": "Second part of the Logic App." | |
} | |
} | |
}, | |
"variables": { | |
"logicApp": { | |
"name": "[concat(parameters('logicAppName1'), '-', parameters('logicAppName2'))]" | |
} | |
}, | |
"resources": [ | |
{ | |
"name": "[variables('logicApp').name]", | |
"type": "Microsoft.Logic/workflows", | |
"location": "[resourceGroup().location]", | |
"tags": { | |
"displayName": "LogicApp" | |
}, | |
"apiVersion": "2016-06-01", | |
"properties": { | |
"definition": { | |
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | |
"contentVersion": "1.0.0.0", | |
"actions": {}, | |
"outputs": {}, | |
"parameters": {}, | |
"triggers": {} | |
}, | |
"parameters": {} | |
} | |
} | |
], | |
"outputs": { | |
"resourceId": { | |
"type": "string", | |
"value": "[resourceId('Microsoft.Logic/workflows', variables('logicApp').name)]" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment