Is it possible to use helm with dynamic kubernetes config?

Hi. Is it possible to use helm provider with dynamic kubernetes config? More precisely, I want with one terraform apply command create eks cluster and deploy to it some default stuff like nginx ingress controller. As I understand in order to do it I need to write something like this:

provider "helm" {
    kubernetes {
      host                   = module.cluster.endpoint
      cluster_ca_certificate = base64decode(module.cluster.cluster_ca_certificate)

But it seems that it’s not a right way because module.cluster.cluster_ca_certificate is actually dynamic value