Hey, I was doing some task definition refreshes to...
# aws
b
Hey, I was doing some task definition refreshes to deployed resources with pulumi up-r last night. I updated one cluster without issue, but a nearly identical ECS Cluster gave this:
error: diffing urn:pulumi:use1-dev-next::admin-portal::aws:ecs/service:Service::admin-portal-dev-next-east-service: failed to upgrade resource state: State version 1 is greater than schema version 0 for resource aws_ecs_service. Please upgrade the provider to work with this resource.
I reran pulumi install, did an npm audit fix...but no dice. Any ideas what would cause this? I've run out of ideas.
w
Hi Jason, did you recall how you fixed this by any chance? I am having the same issue now 🙂
b
After a long-standing ticket with support, this is the fix that worked: 1. "The easiest but less certain way - I've seen multiple people fix it by just rebuilding their node environment (delete the
node_modules
directory, clean out the pulumi package cache and make sure your
package.json
file is updated. Then an
npm update
and a
pulumi install
.
w
Damn it that worked! Thanks very much mate hope you have a great day wherever it may be! 😁