terraform-provider-snowflake
terraform-provider-snowflake copied to clipboard
Stremlit
Is your feature request related to a problem? Please describe. Support for Streamlit in snowflake
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I want to create streamlit app in snowflake
Describe the solution you'd like A streamlit resource
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
I agree this is a good feature request and one that we plan to implement in the coming quarter.
Is there any updated ETA on this feature?
Hey @danielhstahl.
We will share our roadmap soon. Despite what was written above, we will start work on it no earlier than February/March.
Would a part of this work be to allow granting usage access to all and future streamlit apps in a schema to account roles? Currently, streamlit isn't included in the list of allowed plural object types.
Correct me if I'm wrong but I think it would be as simple as this?
diff --git a/pkg/resources/grant_helpers.go b/pkg/resources/grant_helpers.go
index df015d0f..27677faf 100644
--- a/pkg/resources/grant_helpers.go
+++ b/pkg/resources/grant_helpers.go
@@ -425,6 +425,7 @@ func ValidGrantedObjectType() schema.SchemaValidateDiagFunc {
sdk.ObjectTypeTag.String(),
sdk.ObjectTypeStage.String(),
sdk.ObjectTypeStream.String(),
+ sdk.ObjectTypeStreamlit.String(),
sdk.ObjectTypeTable.String(),
sdk.ObjectTypeExternalTable.String(),
sdk.ObjectTypeTask.String(),
@@ -455,6 +456,7 @@ func ValidGrantedPluralObjectType() schema.SchemaValidateDiagFunc {
sdk.PluralObjectTypeTags.String(),
sdk.PluralObjectTypeStages.String(),
sdk.PluralObjectTypeStreams.String(),
+ sdk.PluralObjectTypeStreamlits.String(),
sdk.PluralObjectTypeTables.String(),
sdk.PluralObjectTypeExternalTables.String(),
sdk.PluralObjectTypeTasks.String(),
Hi @JohnCalhoun @danielhstahl @ric-sylvera 👋 Streamlits have been added in v0.94 release. Please follow our migration guide.