refs platform/board#4071: add SSL certificate expiration alert configuration#11
refs platform/board#4071: add SSL certificate expiration alert configuration#11FabrizioCafolla merged 4 commits intomainfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Pull request overview
This pull request adds SSL certificate expiration alert configuration to the Terraform Google Services Monitoring module. It enables monitoring of SSL certificates through Google Cloud Monitoring's uptime check metrics and provides customizable alert thresholds.
- Adds a new
ssl_alertvariable for configuring SSL certificate expiration alerts - Implements alert policies that trigger when certificates are close to expiration
- Updates documentation to reflect the new monitoring capability
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| variables.tf | Adds ssl_alert variable definition with configuration options for SSL monitoring (enabled flag, project ID, notification settings, threshold days, and user labels) |
| ssl_alert.tf | Implements Google Monitoring alert policy resource that creates alerts based on configurable expiration thresholds using uptime check metrics |
| README.md | Documents the new ssl_alert input variable in the module's input reference table |
| CHANGELOG.md | Adds changelog entry for version 0.7.0 documenting the SSL certificate expiration alert feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR Type
Enhancement
Description
Add SSL certificate expiration monitoring with configurable alert thresholds
Support multiple threshold days (default 15 and 7 days) for early warnings
Enable customizable notification channels and project-level configuration
Integrate with Google Cloud Monitoring uptime check SSL metrics
Diagram Walkthrough
File Walkthrough
ssl_alert.tf
Add SSL certificate expiration alert resourcessl_alert.tf
for_eachvariables.tf
Define SSL alert configuration variablevariables.tf
ssl_alertvariable with configuration options for SSL monitoringsettings, threshold_days
typesensevariable blockCHANGELOG.md
Update changelog for version 0.7.0 releaseCHANGELOG.md
README.md
Document SSL alert configuration in READMEREADME.md
ssl_alertinput variable documentation to inputs tablegoogle_monitoring_alert_policy.ssl_expiring_daysto resourcestable