How can you have multiple logic app ARM templates deployed in a single "Deploy" action in Visual Studio?
Using the current version (2.23.1) of the "Azure Logic Apps Tools for Visual Studio 2019" extension (as of 1/1/2021). Create a new "Azure Resource Group" project, and add a "Logic App" template to it. Use the "Deploy" action on the project, and the logic app deploys OK. Can add a second logic app to the original JSON file, and then build & deploy it fine.
You can use the Cloud Explorer to download an existing logic app into a local JSON file, and include it in the VS project, set it to "Content" and its included in the build OK.
But it does NOT get deployed
I can see the command in the Output window for the original JSON using the Deploy-AzureResourceGroup.ps1
script to do the deployment
...Deploy-AzureResourceGroup.ps1'
-StorageAccountName ''
-ResourceGroupName 'logic-app-rg'
-ResourceGroupLocation 'northeurope'
-TemplateFile '...logicapp.json'
-TemplateParametersFile '...logicapp.parameters.json'
-ArtifactStagingDirectory '.'
-DSCSourceFolder '.DSC'
But I can't work out how to get the second JSON file with the downloaded from Azure logic app to be included in the deployment?
... I can use the Deploy-AzureResourceGroup.ps1 in the PowerShell console to do a deployment, but that's a second manual step to remember to do each time
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…