by default the command would be not re-executed after the successful creation. Think of the Command as a resource - once created, the update will only be executed if the inputs change.
If you want to run the command on every update even if the inputs don't change, pass something like Date.now() to https://www.pulumi.com/registry/packages/command/api-docs/local/command/#triggers_nodejs
a
aloof-baker-86174
02/11/2024, 5:54 PM
That makes sense. I wasn't really thinking of it like a normal resource. Thank you!