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
module"eks_cluster" {
source="cloudposse/eks-cluster/aws"version="2.9.0"region=var.regionvpc_id=module.vpc.vpc_idsubnet_ids=module.subnets.public_subnet_idskubernetes_version=var.kubernetes_versionlocal_exec_interpreter=var.local_exec_interpreteroidc_provider_enabled=var.oidc_provider_enabledenabled_cluster_log_types=var.enabled_cluster_log_typescluster_log_retention_period=var.cluster_log_retention_period# data auth has problems destroying the auth-mapkube_data_auth_enabled=falsekube_exec_auth_enabled=truecontext=module.this.context
}
Steps to Reproduce
terraform apply when creating new clusters
Expected Behavior
Apply succeeded.
Actual Behavior
│ Error: Value Conversion Error
│
│ with module.eks_cluster.provider["registry.terraform.io/hashicorp/kubernetes"],
│ on .terraform/modules/eks_cluster/auth.tf line 96, in provider "kubernetes":
│ 96: provider "kubernetes" {
│
│ 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 corresponding `types` package type or a custom type that
│ handles unknown values.
│
│ Path: exec
│ Target Type: []struct { APIVersion basetypes.StringValue
│ "tfsdk:\"api_version\""; Command basetypes.StringValue "tfsdk:\"command\"";
│ Env map[string]basetypes.StringValue "tfsdk:\"env\""; Args
│ []basetypes.StringValue "tfsdk:\"args\"" }
│ Suggested Type: basetypes.ListValue
╵}
Important Factoids
A workaround is to pin the Kubernetes provider to 2.24.0.
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform apply
when creating new clustersExpected Behavior
Apply succeeded.
Actual Behavior
Important Factoids
A workaround is to pin the Kubernetes provider to
2.24.0
.References
Community Note
The text was updated successfully, but these errors were encountered: