I want to use the current sha as a config variable...
# pulumi-deployments
c
I want to use the current sha as a config variable. I’m trying to run `pulumi config set image:tag sha-$(git rev-parse HEAD)`but it asks to set a stack. 1. How to do this? 2. Is there a way to directly get the commit sha in the pulumi program without having it set as a config value from outside?
@salmon-account-74572
s
I don’t know off the top of my head. Let me see what I can figure/find out for you.