Open marvinbuss opened 2 years ago
I have changed my template to use AZURE CLI, I probably will be making a PR once I finish splitting it up for DEV,TEST,PROD https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/add-template-to-azure-pipelines?tabs=CLI
Just doing some testing and making sure I like the new design I am using.
- task: AzureCLI@2
inputs:
azureSubscription: $(azureServiceConnection)
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
az account set `
--subscription ${{ parameters.AZURE_SUBSCRIPTION_ID }}
az deployment sub `
--location ${{ parameters.AZURE_LOCATION }} `
--subscription ${{ parameters.AZURE_SUBSCRIPTION_ID }} `
--template-file "$(System.DefaultWorkingDirectory)/infra/main.bicep" `
--parameters "$(System.DefaultWorkingDirectory)/infra/params.${{ parameters.environment }}.json"
@marvinbuss any idea when this workflow is getting merged in main?
Summary of the Pull Request
References
PR Checklist
Validation Steps Performed
See automated checks below.