Lastly, can anyone shed any light on this attempt ...
# general
m
Lastly, can anyone shed any light on this attempt at an import? I've generally found these error messages very helpful for understanding what's going on when importing, but this time around it's claiming that there are no inputs that don't match the resource, but warning about this and then following through and failing on attempted import. Any suggestions? 🙏
Copy code
Diagnostics:
  pulumi:pulumi:Stack (mast-snowflake-2-non-pro):
    error: update failed

  snowflake:index:Database (snowflake-cube-cache-database):
    error: inputs to import do not match the existing resource: []
If anyone come across something similar, this was resolved by running the import command via the cli:
pulumi import snowflake:index/database:Database snowflake-database-test '"DATABASE_NAME"'
Looking at the underlying activity when pulumi up was re-run on this newly imported resource, it looks like it was something to do with the data retention attribute needing to be unset
ALTER DATABASE "CACHE" UNSET DATA_RETENTION_TIME_IN_DAYS