[Bug]: Error: The terraform-provider-snowflake_v0.89.0 plugin crashed! #2779
Labels
category:import
general-usage
General help/usage questions
resource:schema
Issue connected to the snowflake_schema resource
Terraform CLI Version
0.89.0
Terraform Provider Version
0.89.0
Terraform Configuration
Category
category:import
Object type(s)
No response
Expected Behavior
plan and apply with no issues.
Actual Behavior
The plugin crushed.
Steps to Reproduce
variable "DEV_schema_map" {
description = "List of GEs"
type = map
default = { for SC in ["DE_1", "DE_2", "DE_3", "DE_4", "DE_5", "DE_6"] : SC => SC}
}
resource "snowflake_schema" "DEV_schemas" {
for_each = var.DEV_schema_map
name = each.value
database = snowflake_database.DEV.name
}
import {
for_each = var.DEV_schema_map
id = each.value
to = snowflake_schema.DEV_schemas[each.value]
}
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: