https://pulumi.com logo
#general
Title
# general
m

mysterious-hairdresser-82060

06/08/2023, 7:32 PM
Has anyone had any luck having Pulumi get an existing Snowflake schema? Following the recommendation from the docs and AI, I used (typescript):
Copy code
const schemaPublic = snowflake.Schema.get(schemaName, `${databaseName}.${schemaName}`);
But I always got the error:
Copy code
1 error occurred:
    	* 2 fields allowed
Does anyone have any context as to what this error means, and what would be the right way to read my Snowflake Schema?