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
required_providers {
snowflake={
source ="Snowflake-Labs/snowflake"
version =">=0.53.0"
}
}
Expected Behavior
I should be able to create a primary key on a table using provider version 0.86.0.
Actual Behavior
│ Error: table id is incorrect: {TERRAFORM_WORKSPACE|MYAPP|MYTABLE}
│
│ with module.snowflake.module.my_module["MYTABLE"].snowflake_table_constraint.primary_key,
│ on .terraform/modules/snowflake/modules/my_module/main.tf line 42, in resource "snowflake_table_constraint" "primary_key":
│ 42: resource "snowflake_table_constraint" "primary_key" {
pinning to version 0.85.0 of the provider does not allow apply to complete successfully because resources were created with a newer version of the module:
│ Error: Resource instance managed by newer provider version
│
│ The current state of module.snowflake.module.my-sub-module["my-table"].snowflake_procedure.etl_proc was created by a newer provider version than is currently selected. Upgrade the snowflake provider to work with this state.
only solution is to destroy resources and redeploy pinned to 0.85.0
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Terraform CLI and Provider Versions
Terraform v1.6.3
on darwin_arm64
Your version of Terraform is out of date! The latest version
is 1.7.4. You can update by downloading from https://www.terraform.io/downloads.html
Terraform Configuration
Expected Behavior
I should be able to create a primary key on a table using provider version 0.86.0.
Actual Behavior
│ Error: table id is incorrect: {TERRAFORM_WORKSPACE|MYAPP|MYTABLE}
│
│ with module.snowflake.module.my_module["MYTABLE"].snowflake_table_constraint.primary_key,
│ on .terraform/modules/snowflake/modules/my_module/main.tf line 42, in resource "snowflake_table_constraint" "primary_key":
│ 42: resource "snowflake_table_constraint" "primary_key" {
Steps to Reproduce
changelog doens't mention anything about primary keys: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CHANGELOG.md#0860-2024-02-15
pinning to version 0.85.0 of the provider does not allow apply to complete successfully because resources were created with a newer version of the module:
only solution is to destroy resources and redeploy pinned to 0.85.0
How much impact is this issue causing?
High
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: