https://pulumi.com logo
#automation-api
Title
# automation-api
p

prehistoric-kite-30979

05/30/2023, 5:55 PM
We’re trying to use the automation api with nextjs but are getting complaints about multiple pulumi versions running, but there is only one version based on yarn why. Is https://github.com/pulumi/pulumi/issues/5449 still an issue given that it was closed as resolved?
l

lemon-agent-27707

05/31/2023, 6:43 PM
Can you post the exact error that you're seeing? If you look at your yarn lockfile and search for
@pulumi/pulumi
do you see multiple entries?
p

prehistoric-kite-30979

06/01/2023, 5:51 PM
We’ve decided to lean more on temporal for the backend, but there was only one version in the lockfile. I think the issue may have been that there are multiple calls into the server (which obviously results in concurrent previews).
l

lemon-agent-27707

06/02/2023, 10:22 PM
If you have a repro, would definitely appreciate a new issue via github.com/pulumi/pulumi/issues/new
If you're running pulumi updates within temporal, might be worth looking at deployments: https://www.pulumi.com/docs/pulumi-cloud/deployments/ An API to run a pulumi update via Pulumi Cloud. Easy to build custom workflows on top of.
2 Views