You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resource imports successfully. Running terraform plan does not product this error. It only seems to occur when trying to import preview resources that already exist at snowflake objects.
Actual Behavior
snowflake_table.warehouse_dim_date: Importing from ID "NM_DF_DEV_DB01|WAREHOUSE|DIM_DATE"...
snowflake_table.warehouse_dim_date: Import prepared!
Prepared snowflake_table for import
snowflake_table.warehouse_dim_date: Refreshing state... [id=NM_DF_DEV_DB01|WAREHOUSE|DIM_DATE]
╷
│ Error: snowflake_table_resource is currently a preview feature, and must be enabled by adding snowflake_table_resource to preview_features_enabled in Terraform configuration.
Steps to Reproduce
Initialize terraform
Attempt to import existing snowflake objects into the terraform state that are listed as preview features
How much impact is this issue causing?
High
Logs
No response
Additional Information
We are using terraform to deploy objects such as tables. We have some exsting tables we want to track in terraform from now on and if we cannot import the existing ones, our deployments will fail.
Would you like to implement a fix?
Yeah, I'll take it 😎
The text was updated successfully, but these errors were encountered:
@sfc-gh-asawicki Oh wow, thank you so much for the help! I completely forgot about the aliased provider needing to be explicitly configured. I was going through the provider code and couldn't find any apparent issues so I figured it was something silly. Thank you so much for the quick support! Everything is working as expected now.
Terraform CLI Version
1.10.4
Terraform Provider Version
1.0.1
Company Name
Northmarq
Terraform Configuration
Category
category:import
Object type(s)
resource:procedure, resource:table
Expected Behavior
The resource imports successfully. Running
terraform plan
does not product this error. It only seems to occur when trying to import preview resources that already exist at snowflake objects.Actual Behavior
snowflake_table.warehouse_dim_date: Importing from ID "NM_DF_DEV_DB01|WAREHOUSE|DIM_DATE"...
snowflake_table.warehouse_dim_date: Import prepared!
Prepared snowflake_table for import
snowflake_table.warehouse_dim_date: Refreshing state... [id=NM_DF_DEV_DB01|WAREHOUSE|DIM_DATE]
╷
│ Error: snowflake_table_resource is currently a preview feature, and must be enabled by adding snowflake_table_resource to
preview_features_enabled
in Terraform configuration.Steps to Reproduce
How much impact is this issue causing?
High
Logs
No response
Additional Information
We are using terraform to deploy objects such as tables. We have some exsting tables we want to track in terraform from now on and if we cannot import the existing ones, our deployments will fail.
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: