https://pulumi.com logo
w

witty-honey-13693

12/13/2021, 3:35 AM
Hi All Iam executing the pulumi stack through Az DevOps from docker method. The stack executes successfully when we use "up" command. For example, i delete few resources manually and if they are required to be recreated through pulumi we normally use pulumi up --refresh However with pulumi runner command refresh command is not recognized. How can i cover this scenario to refresh the stack using pulumi runner ?
l

little-cartoon-10569

12/13/2021, 4:29 AM
Is that a custom script? I don't see those env vars being used by the ADO Pulumi task.
w

witty-honey-13693

12/13/2021, 5:34 AM
Hi tenwit its not a custom script. It just executes in the Bash command of the Docker.
b

bored-oyster-3147

12/13/2021, 2:22 PM
Are you using the Pulumi task extension? If you're not than just call Pulumi refresh the same way you would locally.
l

little-cartoon-10569

12/13/2021, 7:27 PM
"It just executes in the Bash command of the Docker." This is a custom script. It's not a Pulumi-authored tool.
You will have to look at the code of the command and see how it uses those env vars. There must be some other way to pass parameters to
up
.