forked from Azure/missionlz
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 946 Bytes
/
MLZWhatIf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Mission Landing Zone What-If
on:
pull_request:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
What-If:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: OIDC Login to Azure Public Cloud
uses: azure/login@v2
with:
client-id: ${{ secrets.CLIENT_ID }}
tenant-id: ${{ secrets.TENANT_ID }}
subscription-id: ${{ secrets.SUBSCRIPTION_ID }}
enable-AzPSSession: true
- name: MLZ What-If
uses: azure/arm-deploy@v2
with:
scope: subscription
#subscriptionId: ${{ secrets.SUBSCRIPTION_ID }}
region: centralus
#deploymentMode: 'Validate'
template: ./src/bicep/mlz-arpah.bicep
parameters: ./src/bicep/parameters/mlz-arpah.parameters.json
additionalArguments: "--what-if"
failOnStdErr: failOnStdErr