Also facing a separate issue where my schemas in s...
# general
d
Also facing a separate issue where my schemas in snowflake did import, but preview shows they need to be replaced and I'm not understanding why. Here is the preview diff for a targeted schema:
Copy code
pulumi:pulumi:Stack: (same)
    [urn=urn:pulumi:test::snowflakeDefinitions::pulumi:pulumi:Stack::snowflakeDefinitions-test]
    +-snowflake:index/schema:Schema: (replace) 🔓
        [id=TEST_BUSINESS_ANALYTICS_DB.PRIVATE]
        [urn=urn:pulumi:test::snowflakeDefinitions::snowflake:index/schema:Schema::TEST_BUSINESS_ANALYTICS_DB.PRIVATE]
        [provider=urn:pulumi:test::snowflakeDefinitions::pulumi:providers:snowflake::default_2_6_0::bc0356d8-dc13-4223-ac09-07c026ccdd53]
      - dataRetentionTimeInDays: 1
      ~ isTransient            : "false" => "default"
      - showOutputs            : [
      -     [0]: {
              - comment      : ""
              - createdOn    : "2024-04-04 17:33:47.509 -0700 PDT"
              - databaseName : "TEST_BUSINESS_ANALYTICS_DB"
              - droppedOn    : "0001-01-01 00:00:00 +0000 UTC"
              - isCurrent    : false
              - isDefault    : false
              - name         : "PRIVATE"
              - options      : ""
              - owner        : "ACCOUNTADMIN"
              - ownerRoleType: "ROLE"
              - retentionTime: "1"
            }
        ]
      ~ withManagedAccess      : "false" => "default"
✅ 1
If this is because of the missing owners, well... I can't import it because of the other problem I posted about (can't import privileges and ownership for some reason)
Ahh this one I understand now and is fixed. Basically just needed to resolve the proper values for
isTransient
and `withManagedAccess`due to the version upgrade I've made.