has anyone come across this error recently? ``` p...
# general
m
has anyone come across this error recently?
Copy code
pulumi:pulumi:Stack (mast-snowflake-non-pro):
    error: preview failed

  snowflake:index:RoleGrants (snowflake_user_reader_role_grant):
    error: Preview failed: refreshing urn:pulumi:non-pro::mast-snowflake::snowflake:index/roleGrants:RoleGrants::snowflake_user_reader_role_grant: 1 error occurred:
    	* 5 or 6 fields allowed
e
Can you use
pulumi stack export
to check what the
id
is for that resource currently?
m
e
Are you running
preview
with
--refresh
?
preview/up
m
it's caused by refreshing
I noticed it was causing failures in ci whilst running
pulumi up --refresh
and then locally I've been able to reproduce the error just by calling
pulumi refresh
pulumi up
works
but doesn't fix the issue
e
I think if you do an update without refresh it should just write out the new format IDs
m
good find, thank you
unfortunately this hasn't solved the issue
wait, perhaps it has, 1 moment
Hey, just to round this off, I ended up having to remove the resources and then recreate them to make it work
Thanks for your help
e
Ah that's annoying sorry things didn't just work, our engine doesn't expect resource IDs to change like this bit of an awkward breaking change from the Snowflake provider.