title: Use Terraform output in Kubernetes
body: <p>I'm using a slightly customized Terraform configuration to generate my Kubernetes cluster on AWS. The configuration includes an EFS instance attached to the cluster nodes and master. In order for Kubernetes to use this EFS instance for volumes, my Kubernetes YAML needs the id and endpoint/domain of the EFS instance generated by Terraform.</p>
  
  <p>Currently, my Terraform outputs the EFS id and DNS name, and I need to manually edit my Kubernetes YAML with these values after <code>terraform apply</code> and before I <code>kubectl apply</code> the YAML.</p>
  
  <p>How can I automate passing these Terraform output values to Kubernetes?</p>