Step 23 - Deploy Logic App - Build
  • 18 Nov 2019
  • 1 Minute to read
  • Contributors
  • Comment
  • Dark
    Light
  • PDF

Step 23 - Deploy Logic App - Build

  • Comment
  • Dark
    Light
  • PDF

Article summary

In this task we will use the Azure Resource Group deployment task to deploy the Logic App. The task will point to the Logic App definition json file and at the Logic App parameters template file that I created. I discussed in the previous task why I chose to use a template file rather than override parameters in this task. Settings which were generated by Terraform dynamically were promoted to the pipeline earlier in the process and in the last task they were written to the template parameters file. When I deploy the Logic App these parameter values from Terraform will be deployed to the Logic App too.

A picture of the configuration for this task is below:

image.png

YAML

The yaml for this task is below:

variables:
  resourceGroupName: '[TBC]'

steps:
- task: AzureResourceGroupDeployment@2
  displayName: 'Azure Deployment: Logic App'
  inputs:
    azureSubscription: '[TBC]'
    resourceGroupName: '$(resourceGroupName)'
    location: 'North Europe'
    csmFile: '$/LogicApps/LogicApp.json'
    csmParametersFile: '$/LogicApps/LogicApp.parameters.template.json'

Was this article helpful?