title: unable to run startup_script in gcp using terraform
body: <p>I have below terraform script</p>
  <pre><code>resource &quot;google_compute_instance&quot; &quot;vm1&quot; {
    metadata = {
      ssh-keys = &quot;${var.user}:${file(var.publickeypath)}&quot;
      metadata_startup_script = &lt;&lt;SCRIPT
  yum install -y httpd
  systemctl start httpd.service
  systemctl enable httpd.service
  echo “Hello World from $(hostname -f)” &gt; /var/www/html/index.html
  SCRIPT
    }
  }
  </code></pre>
  <p>now i want my startup script should be executed i can see in stratup_script is copied in my vm but not running.</p>
  <p>for reference have a look to below image
  <a href="https://i.stack.imgur.com/OHIrq.png" rel="nofollow noreferrer">image</a></p>
  <p>even my ssh key also copied to gcp console but my startup_script should be executed.</p>
  <p>Thanks,</p>