https://pulumi.com logo
#pulumi-deployments
Title
# pulumi-deployments
c

colossal-quill-8119

07/31/2023, 10:40 AM
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

salmon-account-74572

07/31/2023, 2:49 PM
I don’t know off the top of my head. Let me see what I can figure/find out for you.