GitHub Action to preview Azure infrastructure changes before its deployment.
MIT License
Bot releases are hidden (Show)
Published by fedeoliv about 3 years ago
GitHub Action that previews the effects of your Azure infrastructure changes before its deployment by running an ARM template deployment what-if operation.
steps:
- name: Preview changes
uses: Azure/[email protected]
with:
subscription: '<subscription ID>'
resourceGroup: '<resource group name>'
templateFile: azuredeploy.json # main.bicep
parametersFile: parameters.json
steps:
- name: Preview changes
uses: Azure/[email protected]
with:
subscription: '<subscription ID>'
resourceGroup: '<resource group name>'
templateFile: azuredeploy.json # main.bicep
additionalParameters: key1=value key2=value keyN=value
Name | Description | Required |
---|---|---|
subscription |
Subscription ID | true |
resourceGroup |
Resource group name | true |
templateFile |
ARM template (.json ) or Bicep (.bicep ) file |
true |
parametersFile |
Parameters file for the ARM template or Bicep | false |
additionalParameters |
Additional parameters to be applied on the ARM template or Bicep. Multiple parameters should be separated by spaces. | false |