Is there any way to create alerting policy for uptime check using terraform? Provided examples in the terraform docs show only alerting policy for metrics not uptime check so I'm not sure if that is even possible with the terraform.
--
© 2021 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/6e9e4769-b9cd-490d-9edd-0ab622136502n%40googlegroups.com.
I'm stuck on how to get metric.label.check_id from already deployed resources to the alerting policy for the uptime check
Other way it will try to destroy existing policy because that ID is known after creating that resource.
Thanks,
~ Adam
From: Roy Nuriel <rnu...@google.com>
Date: Thursday, July 8, 2021 at 11:45 AM
To: Mary Koes <mk...@google.com>
Cc: Adam Raszkiewicz <araszk...@medallies.com>, Alisa Goldstein <ali...@google.com>, Google Stackdriver Discussion Forum <google-stackdr...@googlegroups.com>
Subject: Re: [google-stackdriver-discussion] Create alerting policy for uptime check using terraform
CAUTION: This email originated from outside of MedAllies. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Adam,
Sorry for my late response.
Your understanding is correct - You can configure uptime checks and manage your alerts with Terraform.
We do have plans to add uptime check terraform support as well.
Please let me know if you have additional questions.
Roy