Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated AlertPolicy resource to include sql condition types. #21277

Conversation

modular-magician
Copy link
Collaborator

Fixes #21259.

Adds support for SQL condition types when creating an Alert Policy. SQL conditions are currently configurable through the UI or API directly: https://cloud.google.com/logging/docs/analyze/sql-in-alerting

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

monitoring: added `condition_sql` field to `monitoring_alert_policy` resource

Derived from GoogleCloudPlatform/magic-modules#12971

…rp#12971)

[upstream:131d591d87fe5afe50153e760ec6b1057be7ae7a]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician requested a review from a team as a code owner February 6, 2025 18:01
@modular-magician modular-magician merged commit 74ec091 into hashicorp:main Feb 6, 2025
4 checks passed
Copy link

github-actions bot commented Mar 9, 2025

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

google_monitoring_alert_policy doesn't support SQL condition types
1 participant