sparse-intern-71089
01/12/2020, 8:54 PMtall-librarian-49374
01/12/2020, 8:59 PMpowerful-football-81694
01/12/2020, 9:37 PMARM_*
variables, like so:
- task: Pulumi@1
displayName: Create/update Azure resources
inputs:
azureSubscription: IDeliverable Azure Subscription
command: up
args: --skip-preview --yes
cwd: infra/
stack: dev
env:
PULUMI_ACCESS_TOKEN: $(PulumiAccessToken)
# The below should not be necessary since this task is using a service connection, but it does not seem able to correctly get the client secret from the connection, so for now this is the workaround.
ARM_CLIENT_SECRET: $(AzureClientSecret)
ARM_SUBSCRIPTION_ID: $(AzureSubscriptionId)
ARM_CLIENT_ID: $(AzureClientId)
ARM_TENANT_ID: $(AzureTenantId)
- script: |
echo "##vso[task.setvariable variable=appName;isOutput=true]$(pulumi stack output appName)"
displayName: Set stack outputs as variables
name: stackVariables
powerful-football-81694
01/12/2020, 9:38 PMclever-sunset-76585
01/12/2020, 10:33 PMpowerful-football-81694
01/13/2020, 10:35 AMpowerful-football-81694
01/13/2020, 10:36 AMpowerful-football-81694
01/13/2020, 10:36 AMpowerful-football-81694
01/13/2020, 2:34 PMpowerful-football-81694
01/13/2020, 2:34 PMclever-sunset-76585
01/13/2020, 3:26 PMpowerful-football-81694
01/13/2020, 5:30 PMpowerful-football-81694
01/13/2020, 5:31 PMpowerful-football-81694
01/13/2020, 5:31 PMpowerful-football-81694
01/13/2020, 5:32 PMpowerful-football-81694
01/13/2020, 5:32 PMclever-sunset-76585
01/13/2020, 5:38 PMAnd we need to maintain several different client secrets for the same service principal, for different contexts, different expiration etc, so we need to name them better to tell them apart.Yep. I see what you mean.