All Modules
GCPMonitoring
Cloud Monitoring
Alert policies, notification channels, uptime checks, and budget alerts
Usage
module "cloud_monitoring" {
source = "github.com/fencepencil/gcp-modules//cloud-monitoring"
project_id = "<project_id>"
name_prefix = "<name_prefix>"
alert_emails = { key = "value" }
tags = var.tags
}Inputs (6)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
project_id | string | GCP project ID | — | yes |
name_prefix | string | Prefix for resource naming | — | yes |
alert_emails | map(string) | Notification email addresses | — | yes |
alert_policies | map(object) | Alert policies to create | {} | no |
uptime_checks | map(object) | Uptime checks to create | {} | no |
monthly_budget_amount | number | Monthly budget in USD | 0 | no |
Outputs (3)
| Name | Description |
|---|---|
notification_channel_ids | Map of channel names to IDs |
alert_policy_ids | Map of policy names to IDs |
uptime_check_ids | Map of check names to IDs |