I have a question regarding configuring Pulumi CI/...
# azure
f
I have a question regarding configuring Pulumi CI/CD with Azure DevOps Given this
azure-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... 🤷‍♂️
Copy code
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: "???"