bitter-dentist-28132
01/30/2020, 3:18 PMgreen-school-95910
01/30/2020, 5:34 PMbitter-dentist-28132
01/30/2020, 5:37 PMthankful-optician-22583
01/30/2020, 6:13 PMexport const appTag ='your image tag';
before I run pulumi update, I query the output file like this
export PREV_APP_TAG=$(pulumi stack output -j | jq '.appTag')
And then if my update fails, i set this
pulumi config set app:tag $PREV_APP_TAG
and then run a pulumi update again.green-school-95910
01/30/2020, 6:15 PMthankful-optician-22583
01/30/2020, 6:16 PMgreen-school-95910
01/30/2020, 6:17 PMthankful-optician-22583
01/30/2020, 6:21 PMbig-caravan-87850
01/30/2020, 6:32 PMgreen-school-95910
01/30/2020, 6:33 PMbig-caravan-87850
01/30/2020, 7:35 PMgentle-diamond-70147
01/30/2020, 8:30 PMup
to achieve rollback. More explanation is at https://www.pulumi.com/docs/troubleshooting/faq/#does-pulumi-support-automatic-rollback-in-the-event-of-an-error-or-failure.bitter-dentist-28132
01/30/2020, 10:19 PMgreen-school-95910
01/30/2020, 10:26 PMbitter-dentist-28132
01/31/2020, 7:55 PMgentle-diamond-70147
01/31/2020, 8:05 PMbitter-dentist-28132
01/31/2020, 8:10 PMgentle-diamond-70147
01/31/2020, 8:13 PMi guess a more broad question would be, how do you ensure you don't break prod?One of our engineers did a talk on exactly that recently! 🙂 https://twitter.com/PulumiCorp/status/1221843815872499713