I'm seeing a strange issue when trying to run an '...
# python
s
I'm seeing a strange issue when trying to run an 'up' or a 'preview'.
Copy code
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.
anyone seen this before and know what to do to fix it?
a
Check what version you're running and whether there's a newer version available of the provider you're using - assuming `pulumi_aws`:
pip freeze | grep pulumi_aws
s
i was/am on version
Copy code
pulumi_aws==6.44.0
pulumi_awsx==2.13.0
I ran
Copy code
pulumi plugin install resource aws 6.55.0
but it looks like its still using the 6.44.0 version, and also still getting the error
now, i'm explicitly setting the version on the resource by using
Copy code
opts=pulumi.ResourceOptions(version="6.55.0")
still same error
a
Did you not update the
pulumi_aws
Python package?
s
yeah, i've upgraded pulumi_aws package, still same results
117 Views