sparse-intern-71089
01/17/2020, 2:47 PMpowerful-football-81694
01/17/2020, 6:08 PMenv
property on the step in your pipeline YAML.powerful-football-81694
01/17/2020, 6:11 PMpowerful-football-81694
01/17/2020, 6:13 PMBuild.SourceVersion
variable which represents the Git commit ID.powerful-football-81694
01/17/2020, 6:16 PM- task: Pulumi@1
inputs:
...
env:
COMMIT_ID: $(Build.SourceVersion)
And then in your Pulumi program, just read the environment variable COMMIT_ID
and concatenate that to your resource names.tall-librarian-49374
01/17/2020, 9:26 PM