Cluster import failure

Trying to import existing SCW cluster into Terraform, getting this error. Could you please explain what is wrong here and how to fix it?

│ Error: Value Conversion Error
│ 
│ An unexpected error was encountered while verifying an attribute value matched its expected type to prevent unexpected behavior or panics. This is always an error in the
│ provider. Please report the following to the provider developer:
│ 
│ Expected framework type from provider logic: types.ObjectType["existing_vpc":types.ObjectType["aws_vpc_eks_id":basetypes.StringType,
│ "documentdb_subnets_zone_a_ids":types.ListType[basetypes.StringType], "documentdb_subnets_zone_b_ids":types.ListType[basetypes.StringType],
│ "documentdb_subnets_zone_c_ids":types.ListType[basetypes.StringType], "eks_subnets_zone_a_ids":types.ListType[basetypes.StringType],
│ "eks_subnets_zone_b_ids":types.ListType[basetypes.StringType], "eks_subnets_zone_c_ids":types.ListType[basetypes.StringType],
│ "elasticache_subnets_zone_a_ids":types.ListType[basetypes.StringType], "elasticache_subnets_zone_b_ids":types.ListType[basetypes.StringType],
│ "elasticache_subnets_zone_c_ids":types.ListType[basetypes.StringType], "rds_subnets_zone_a_ids":types.ListType[basetypes.StringType],
│ "rds_subnets_zone_b_ids":types.ListType[basetypes.StringType], "rds_subnets_zone_c_ids":types.ListType[basetypes.StringType]],
│ "karpenter":types.ObjectType["default_service_architecture":basetypes.StringType, "disk_size_in_gib":basetypes.Int64Type, "spot_enabled":basetypes.BoolType],
│ "static_ip":basetypes.BoolType, "vpc_subnet":basetypes.StringType] / underlying type: tftypes.Object["existing_vpc":tftypes.Object["aws_vpc_eks_id":tftypes.String,
│ "documentdb_subnets_zone_a_ids":tftypes.List[tftypes.String], "documentdb_subnets_zone_b_ids":tftypes.List[tftypes.String],
│ "documentdb_subnets_zone_c_ids":tftypes.List[tftypes.String], "eks_subnets_zone_a_ids":tftypes.List[tftypes.String], "eks_subnets_zone_b_ids":tftypes.List[tftypes.String],
│ "eks_subnets_zone_c_ids":tftypes.List[tftypes.String], "elasticache_subnets_zone_a_ids":tftypes.List[tftypes.String],
│ "elasticache_subnets_zone_b_ids":tftypes.List[tftypes.String], "elasticache_subnets_zone_c_ids":tftypes.List[tftypes.String],
│ "rds_subnets_zone_a_ids":tftypes.List[tftypes.String], "rds_subnets_zone_b_ids":tftypes.List[tftypes.String], "rds_subnets_zone_c_ids":tftypes.List[tftypes.String]],
│ "karpenter":tftypes.Object["default_service_architecture":tftypes.String, "disk_size_in_gib":tftypes.Number, "spot_enabled":tftypes.Bool], "static_ip":tftypes.Bool,
│ "vpc_subnet":tftypes.String]
│ Received framework type from provider logic: types.ObjectType["karpenter":types.ObjectType["default_service_architecture":basetypes.StringType,
│ "disk_size_in_gib":basetypes.Int64Type, "spot_enabled":basetypes.BoolType], "static_ip":basetypes.BoolType, "vpc_subnet":basetypes.StringType] / underlying type:
│ tftypes.Object["karpenter":tftypes.Object["default_service_architecture":tftypes.String, "disk_size_in_gib":tftypes.Number, "spot_enabled":tftypes.Bool],
│ "static_ip":tftypes.Bool, "vpc_subnet":tftypes.String]
│ Path: features
╵

Hello @km1414,

I’ll take a look, can you share the cluster console url you would like to import ?

Yes, was trying to import this one: https://console.qovery.com/organization/2119cfce-8e17-474a-9a13-d0e6f0c2794b/cluster/e5fe17b2-c5c9-4efa-bc32-e35436423773/settings/general

Ok, this is related to the import of a Scaleway cluster.
We’re going to fix this, I’ll ping you once this is ok

1 Like

Hi, any updates on this one?

Hi @km1414,

Sorry for the delay, I’m on it to deliver a fix in the coming days

Hello @km1414,
The latest release 0.39.1 should resolve your issue

1 Like

This topic was automatically closed after 11 days. New replies are no longer allowed.