title: How To Run kubectl apply commands in terraform
body: <p>I have developed a terraform script to create a k8 cluster on GKE. </p>
  
  <p>Post successful creation of cluster, I have set of yaml files to be applied on k8 cluster. </p>
  
  <p>How can I invoke the below command in my terraform script? </p>
  
  <pre><code>kubectl create &lt;.yaml&gt;
  </code></pre>