Snowflake-Labs / terraform-provider-snowflake

Terraform provider for managing Snowflake accounts
https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest
MIT License
548 stars 419 forks source link

[Bug]: Issue while importing Stremlit apps #3017

Closed Yathish-b closed 2 weeks ago

Yathish-b commented 2 months ago

Terraform CLI Version

1.9.4

Terraform Provider Version

0.94.1

Terraform Configuration

resource "snowflake_streamlit" "streamlit" {
  database  = "DVS"
  schema    = "UTILITY"
  name      = "E5O3M_9PCG5IWS45"
  stage     = "DVS.UTILITY.E5O3M_9PCG5IWS45"
  main_file = "/streamlit_app.py"
  query_warehouse              = "ADHOC_M"
  title = "TOPICS_TEST"
}

Category

category:resource

Object type(s)

No response

Expected Behavior

We would expect the resource to be imported and tracked in terraform

Actual Behavior

when we run a import command terraform import snowflake_streamlit.streamlit E5O3M_9PCG5IWS45 we see an plugin error

Steps to Reproduce

RUN terraform import snowflake_streamlit.streamlit E5O3M_9PCG5IWS45

How much impact is this issue causing?

Medium

Logs

No response

Additional Information

2024-08-28T10:32:51.156+0530 [ERROR] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/snowflake-labs/snowflake/0.94.1/darwin_arm64/terraform-provider-snowflake_v0.94.1 id=70007 error="exit status 2"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] vertex "snowflake_resource_monitor.snow_resource_monitor[\"PSDATUMDAILYFAILSAFE\"]" error: Plugin did not respond
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).ImportResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-08-28T10:32:51.157+0530 [ERROR] vertex "snowflake_resource_monitor.snow_resource_monitor[\"PSDATUMFAILSAFE\"]" error: Plugin did not respond
2024-08-28T10:32:51.158+0530 [ERROR] vertex "snowflake_resource_monitor.snow_resource_monitor (expand)" error: Plugin did not respond
2024-08-28T10:32:51.158+0530 [ERROR] vertex "snowflake_resource_monitor.snow_resource_monitor (expand)" error: Plugin did not respond
2024-08-28T10:32:51.158+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.158+0530 [ERROR] vertex "snowflake_user.snow_user[\"KAFKA_CONNECT_SERVICE_USER_PRODUCTION\"]" error: Request cancelled
2024-08-28T10:32:51.159+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.159+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_RAW\"]" error: Request cancelled
2024-08-28T10:32:51.160+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.160+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_RAW_AWS_BILLING\"]" error: Request cancelled
2024-08-28T10:32:51.160+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.160+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_STITCH\"]" error: Request cancelled
2024-08-28T10:32:51.161+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.161+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_ANALYTICS\"]" error: Request cancelled
2024-08-28T10:32:51.161+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.161+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_DE_ANALYTICS\"]" error: Request cancelled
2024-08-28T10:32:51.161+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.161+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"STITCH_WH\"]" error: Request cancelled
2024-08-28T10:32:51.161+0530 [ERROR] vertex "snowflake_account_role.snow_roles[\"ACCOUNTADMIN\"]" error: Plugin did not respond
2024-08-28T10:32:51.162+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.162+0530 [ERROR] vertex "snowflake_database.snow_db[\"DEV\"]" error: Request cancelled
2024-08-28T10:32:51.162+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.162+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"SPLUNK_WH\"]" error: Request cancelled
2024-08-28T10:32:51.162+0530 [ERROR] vertex "snowflake_user.snow_user[\"ACCENTURE_NOTIFICATION_USER\"]" error: Plugin did not respond
2024-08-28T10:32:51.162+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.162+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.162+0530 [ERROR] vertex "snowflake_streamlit.streamlit (import id \"E5O3M_9PCG5IWS45\")" error: Plugin did not respond
2024-08-28T10:32:51.163+0530 [ERROR] vertex "snowflake_streamlit.streamlit (expand)" error: Plugin did not respond
2024-08-28T10:32:51.163+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.163+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_SEGMENT_EVENTS\"]" error: Request cancelled
2024-08-28T10:32:51.163+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.163+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DYNAMIC_TABLE_TEST\"]" error: Request cancelled
2024-08-28T10:32:51.163+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.163+0530 [ERROR] vertex "snowflake_user.snow_user[\"DEO_SERVICE_USER\"]" error: Plugin did not respond
2024-08-28T10:32:51.163+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.163+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_CHARGEBEE\"]" error: Request cancelled
2024-08-28T10:32:51.163+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.163+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ADHOC_M\"]" error: Request cancelled
2024-08-28T10:32:51.164+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DVS_STAGING_REPLICATION\"]" error: Request cancelled
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_user.snow_user[\"SPLUNK_SERVICE_USER\"]" error: Plugin did not respond
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_user.snow_user[\"KAFKA_CONNECT_SERVICE_USER_STAGING\"]" error: Plugin did not respond
2024-08-28T10:32:51.164+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_SUPERMETRICS\"]" error: Request cancelled
2024-08-28T10:32:51.164+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_TEST_RAW\"]" error: Request cancelled
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_account_role.snow_roles[\"BREAK_GLASS\"]" error: Plugin did not respond
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_account_role.snow_roles (expand)" error: Plugin did not respond
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_account_role.snow_roles (expand)" error: Plugin did not respond
2024-08-28T10:32:51.164+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.164+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.164+0530 [ERROR] vertex "snowflake_user.snow_user[\"SEGMENT_USER\"]" error: Plugin did not respond
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_user.snow_user (expand)" error: Plugin did not respond
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_RAW_DATAMESH_ECS\"]" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DVS_UTILITY\"]" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db[\"DEV_ERIN\"]" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db[\"ACG_PROD_DYNAMODB_FIREHOSE\"]" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] vertex "snowflake_database.snow_db (expand)" error: Request cancelled
2024-08-28T10:32:51.165+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.166+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DBT_DEV\"]" error: Request cancelled
2024-08-28T10:32:51.166+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.166+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DEO\"]" error: Request cancelled
2024-08-28T10:32:51.168+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ACG_REPLICATION_WAREHOUSE\"]" error: Request cancelled
2024-08-28T10:32:51.168+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DBT_PROD\"]" error: Request cancelled
2024-08-28T10:32:51.168+0530 [ERROR] vertex "snowflake_user.snow_user (expand)" error: Plugin did not respond
2024-08-28T10:32:51.168+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ADHOC_L\"]" error: Request cancelled
2024-08-28T10:32:51.168+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.168+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"FIVETRAN\"]" error: Request cancelled
2024-08-28T10:32:51.169+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.169+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DVS_REPLICATION\"]" error: Request cancelled
2024-08-28T10:32:51.170+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.170+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"SEGMENT_WAREHOUSE\"]" error: Request cancelled
2024-08-28T10:32:51.170+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.170+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DVS_REPLICATION_INITIALIZATION\"]" error: Request cancelled
2024-08-28T10:32:51.170+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.170+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ADHOC_XL\"]" error: Request cancelled
2024-08-28T10:32:51.171+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"READONLY\"]" error: Request cancelled
2024-08-28T10:32:51.171+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ADOBE\"]" error: Request cancelled
2024-08-28T10:32:51.171+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ACG_TASKS\"]" error: Request cancelled
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_user.snow_user (expand)" error: Plugin did not respond
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_user.snow_user (expand)" error: Request cancelled
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_user.snow_user (expand)" error: Plugin did not respond
2024-08-28T10:32:51.171+0530 [ERROR] vertex "snowflake_user.snow_user (expand)" error: Plugin did not respond
2024-08-28T10:32:51.171+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DVS_REPLICATION_XS\"]" error: Request cancelled
2024-08-28T10:32:51.171+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"DATA_EXPLORER\"]" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ADHOC_S\"]" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"ADHOC_XS\"]" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] plugin6.(*GRPCProvider).UpgradeResourceState: error="rpc error: code = Canceled desc = context canceled"
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse[\"PRODUCT\"]" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.172+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.175+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
2024-08-28T10:32:51.176+0530 [ERROR] vertex "snowflake_warehouse.snow_warehouse (expand)" error: Request cancelled
╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).UpgradeResourceState call. The plugin logs may contain more details.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Request cancelled
│ 
│ The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
╵

╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ImportResourceState call. The plugin logs may contain more details.
╵

Stack trace from the terraform-provider-snowflake_v0.94.1 plugin:

panic: interface conversion: sdk.ObjectIdentifier is sdk.AccountObjectIdentifier, not sdk.SchemaObjectIdentifier

goroutine 55 [running]:
github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources.ImportStreamlit({0x1068a0f98, 0x14000b801b0}, 0x14000b88780, {0x10649e6c0?, 0x14000684cd0})
        github.com/Snowflake-Labs/terraform-provider-snowflake/pkg/resources/streamlit.go:124 +0x690
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).ImportState(0x14000241920, {0x1068a0f98, 0x14000b801b0}, 0x14000c29570, {0x14000b6a8a0, 0x10})
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/provider.go:394 +0x190
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ImportResourceState(0x14000d8baa0, {0x1068a0f98?, 0x14000b17ef0?}, 0x14000bbec20)
        github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/grpc_provider.go:1148 +0xa0
github.com/hashicorp/terraform-plugin-mux/tf5to6server.v5tov6Server.ImportResourceState({{0x1068b7478?, 0x14000d8baa0?}}, {0x1068a0f98?, 0x14000b17ef0?}, 0x14000bbeb80?)
        github.com/hashicorp/terraform-plugin-mux@v0.15.0/tf5to6server/tf5to6server.go:144 +0xcc
github.com/hashicorp/terraform-plugin-mux/tf6muxserver.(*muxServer).ImportResourceState(0x1068a0fd0?, {0x1068a0f98?, 0x14000b17110?}, 0x14000bbeb80)
        github.com/hashicorp/terraform-plugin-mux@v0.15.0/tf6muxserver/mux_server_ImportResourceState.go:36 +0x184
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ImportResourceState(0x14000bf34a0, {0x1068a0f98?, 0x14000b16810?}, 0x14000b905a0)
        github.com/hashicorp/terraform-plugin-go@v0.22.2/tfprotov6/tf6server/server.go:875 +0x194
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ImportResourceState_Handler({0x106805e20?, 0x14000bf34a0}, {0x1068a0f98, 0x14000b16810}, 0x14000b88500, 0x0)
        github.com/hashicorp/terraform-plugin-go@v0.22.2/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:536 +0x164
google.golang.org/grpc.(*Server).processUnaryRPC(0x140001f7e00, {0x1068a0f98, 0x14000b16780}, {0x1068b29c0, 0x140000da600}, 0x14000268a20, 0x14000b178c0, 0x1076c0d70, 0x0)
        google.golang.org/grpc@v1.63.2/server.go:1369 +0xba0
google.golang.org/grpc.(*Server).handleStream(0x140001f7e00, {0x1068b29c0, 0x140000da600}, 0x14000268a20)
        google.golang.org/grpc@v1.63.2/server.go:1780 +0xc80
google.golang.org/grpc.(*Server).serveStreams.func2.1()
        google.golang.org/grpc@v1.63.2/server.go:1019 +0x8c
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 50
        google.golang.org/grpc@v1.63.2/server.go:1030 +0x150

Error: The terraform-provider-snowflake_v0.94.1 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.

Would you like to implement a fix?

sfc-gh-jcieslak commented 2 months ago

Hey @Yathish-b 👋 When importing streamlit you have to pass a fully qualified name of that streamlit. Our documentation contains a guide on importing a given resource (here's for streamlit). In the version of the provider you are on, the import should look like this: terraform import snowflake_streamlit.streamlit 'DVS|UTILITY|E5O3M_9PCG5IWS45'

Note: Import syntax for streamlits will change in the upcoming release.

sfc-gh-jcieslak commented 2 weeks ago

Closing due to long inactivity. Please, create another issue if you think the problem is still not resolved.