A Terraform module to create multiple dynamic AWS Cloudwatch Alamrs by using YAML
module "cloudwatch-monitor" {
source = "KamranBiglari/geniuscloudwatchalarm/aws"
version = "~> 1.0"
input = "${path.module}/cloudwatch.yaml"
alarm_name_prefix = "cloudwatch-monitor"
current_environment = "dev"
template_data = {
}
alarm_actions = {
default = {
alarm = ""
ok = ""
}
}
}
Name | Version |
---|---|
terraform | >= 1.0.11 |
aws | >= 4.8.0 |
No providers.
Name | Source | Version |
---|---|---|
log-metric-filter | terraform-aws-modules/cloudwatch/aws//modules/log-metric-filter | ~> 4.0 |
metric-alarm | terraform-aws-modules/cloudwatch/aws//modules/metric-alarm | ~> 4.0 |
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
alarm_actions | map of alarm actions | map(any) |
{} |
no |
alarm_name_prefix | Prefix of alarm name | string |
n/a | yes |
current_environment | Current environment | string |
n/a | yes |
input | Path to yaml file | string |
n/a | yes |
loop | n/a | map(any) |
{} |
no |
template_data | values to replace in template | map(any) |
{} |
no |
No outputs.