https://pulumi.com logo
#general
Title
# general
g

glamorous-printer-66548

03/03/2020, 1:47 AM
hey it seems that pulumi already infers the git sha1 of the environment it runs in (at least it ends up in some state / history metadata). Is there a way I can get the git_sha1 from
pulumi.runtime
or some other thing at runtime and use it in my config?
w

white-balloon-205

03/03/2020, 3:43 AM
I don’t think this gets exposed currently - but I see no reason it couldn’t get exposed. It’s one of the automatically applied stack tags - so quite likely exposing the full collection of stack tags into the running deployment program would likely make sense. Please do open an issue to suggest adding this!
g

glamorous-printer-66548

03/03/2020, 8:31 AM
10 Views