Issue with Spring Cloud Helm chart

Hello, I am working on using Terrafrom to deploy a Spring Cloud data flow and have run into a rather confusing error. I am trying to enable features monitoring and for some reason each time I do, I get this error:

Error: unable to build kubernetes objects from release manifest: error validating “”: error validating data: [apiVersion not set, kind not set]

on main.tf line 127, in resource “helm_release” “spring-cloud-data-flow”:
127: resource “helm_release” “spring-cloud-data-flow” {

my Spring Cloud helm_resource looks like:

resource “helm_release” “spring-cloud-data-flow” {
provider = helm.my_cluster
name = “spring-cloud”
repository = “https://kubernetes-charts.storage.googleapis.com
chart = “spring-cloud-data-flow”

values = [
<<EOF
kafka:
enabled: true
persistence:
size: 20Gi
features:
monitoring:
enabled: true
rabbitmq:
enabled: false
server:
service:
type: LoadBalancer
grafana:
enabled: true
prometheus:
enabled: true
ingress:
enabled: true
protocol: http
EOF
]
}

If I remove this line:

  features:
    monitoring:
      enabled: true 

The code applies just fine but some services are not deployed. I tried using a local version of the helm chart which has the same problem. Thus far the only work around I have found is using a local version of the helm chart and going into the values.yaml file and changing the features monitoring value there. Can anyone help illuminate what exactly is causing this error and any possible solutions. Any guidance would be much appreciated!