fancy-artist-45287
03/06/2023, 10:33 AMazure-pipeline.yaml
what value should the azureSubscription
property be? Seems to me that it should be the guid
of the Service Connection but that won't work and neither does the A*zure Subscription* id... 🤷♂️
jobs:
- job: deploy_infrastructure
displayName: Deploy Infrastructure
condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
pool:
vmImage: ubuntu-latest
variables:
- group: Infrastructure
steps:
- checkout: self
submodules: true
- task: Npm@1
displayName: Install dependencies
inputs:
command: "install"
workingDir: "./Infrastructure/"
- task: Pulumi@1
displayName: Deploy Infrastructure
env:
PULUMI_ACCESS_TOKEN: $(PULUMI_ACCESS_TOKEN)
inputs:
command: "up"
args: "--yes --diff --refresh --non-interactive --skip-preview"
cwd: "./Infrastructure/"
stack: "dev"
createStack: true
azureSubscription: "???"