title: Stackdriver "Alert & Notification" in GCP using Terraform
body: <p>I am unable to set Alert &amp; Notification in Stackdriver. Able to configure Notification channel and Uptime Check using Terraform. Below are the codes I am using.</p>
  <pre><code>resource &quot;google_monitoring_notification_channel&quot; &quot;basic&quot; {
    display_name = &quot;Test Notification Channel&quot;
    type         = &quot;email&quot;
    labels = {
      email_address = &quot;fakeid007@gmail.com&quot;
    }
    project = &quot;department1&quot;
  }
  resource &quot;google_monitoring_uptime_check_config&quot; &quot;http&quot; {
    display_name = &quot;01 - Website uptime check [global]&quot;
    timeout = &quot;10s&quot;
    period = &quot;60s&quot;
    project = &quot;department1&quot;
  
    http_check {
      path = &quot;/&quot;
      port = &quot;80&quot;
      mask_headers = null
      use_ssl = null
      validate_ssl = null
      request_method = &quot;GET&quot;
    }
  
    monitored_resource {
      type = &quot;uptime_url&quot;
      labels = {
        host = &quot;35.184.98.16&quot;
      }
    }
  }
  </code></pre>
  <p>But I am not able to figure out the below part, which is possible with manual intervention.</p>
  <p><a href="https://i.stack.imgur.com/V0Iox.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V0Iox.png" alt="enter image description here" /></a></p>
  <p>In the picture you can see that the notification channel I created with terraform is visible.</p>
  <p>Request to help me automate the Alert &amp; Notification also.</p>