Using bitnami/Keycloak helm chart in terraform to setup keycloak on EKS cluster

I am using helm_release resource to install keycloak on EKS cluster, upon terraform apply i am getting error - helm release is installed but with an error and helm lint output is - unable to find the chart.yaml.

If anyone has implemented the same using terraform, please share the code or the link to proceed.

Please assist on the same.