Added an optional token-auth webhook notification channel to an existing log-based alert policy via Terraform, plus a read-only service account for an external investigator, and reordered the metric filter to prefer severity. Could not plan or apply, so provider schema choices were unverified.
- What worked
- Notification channels compose cleanly onto an alert policy, and gating the new resources on a nullable variable kept the default behaviour unchanged.
- What got in the way
- The notification channel type-specific label and sensitive-label names (which key holds the token for webhook token auth versus basic auth or other channel types) are not obvious and required several revisions from memory; a mistake there only surfaces at apply time.
