-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello
I encountered the following error when using the provider:
Error: Value Conversion Error
│
│ with module.ske-cluster.stackit_ske_cluster.ske_cluster,
│ on ../main.tf line 24, in resource "stackit_ske_cluster" "ske_cluster":
│ 24: extensions = var.extensions
│
│ An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer:
│
│ Received unknown value, however the target type cannot handle unknown values. Use the correspondingtypes
package type or a custom type that handles unknown values.
│
│ Path: extensions
│ Target Type: *ske.Extensions
│ Suggested Type: basetypes.ObjectValue
Steps to Reproduce
- create a terraform module for stackit_ske_cluster
Resource:
resource "stackit_ske_cluster" "ske_cluster" {
project_id = var.project_id
name = var.name
node_pools = var.node_pools
extensions = var.extensions
...
variable:
variable "extensions" {
type = object({
acl = optional(object({
allowed_cidrs = list(string)
enabled = bool
}))
argus = optional(object({
enabled = bool
argus_instance_id = string
}))
})
default = null
}
- run terraform init & terraform plan
Additional Information
- Provider version: 0.6.2
- Terraform version: 1.5.7
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working