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)

NameTypeDescriptionDefaultRequired
project_idstringGCP project IDyes
name_prefixstringPrefix for resource namingyes
alert_emailsmap(string)Notification email addressesyes
alert_policiesmap(object)Alert policies to create{}no
uptime_checksmap(object)Uptime checks to create{}no
monthly_budget_amountnumberMonthly budget in USD0no

Outputs (3)

NameDescription
notification_channel_idsMap of channel names to IDs
alert_policy_idsMap of policy names to IDs
uptime_check_idsMap of check names to IDs

More GCP Modules

Browse our full library of GCP infrastructure modules.

View all GCP modules