https://pulumi.com logo
Title
a

astonishing-dentist-11149

12/02/2022, 8:54 PM
Hey all, what is the proper way to have pulumi "redeploy" a fargateService if all I did was update the latest image (same docker tag)? There is no change to tell pulumi this needs to be updated again, so not sure the best way to do this, short of going to AWS and redeploying the task.
b

brave-motorcycle-67487

01/26/2023, 8:32 PM
The conclusion I came to is that you can't have mutable tags - you need to tag things with a version (like a commit hash) and pass that version to Pulumi in an environment variable or similar
Or you don't use Pulumi for this, and use a task orchestrator like ansible or a custom script that triggers this. Since, from the infrastructure perspective, nothing has changed