Skip to content

Commit

Permalink
fix: alarm naming convention to use aws-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Ammaan123 committed Oct 24, 2024
1 parent a2d9bdf commit 540278a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module "labels" {
resource "aws_cloudwatch_metric_alarm" "default" {
count = var.enabled == true && var.expression_enabled == false && var.threshold_metric_id == "" ? 1 : 0

alarm_name = var.alarm_name
alarm_name = module.labels.id
alarm_description = var.alarm_description
comparison_operator = var.comparison_operator
evaluation_periods = var.evaluation_periods
Expand Down

0 comments on commit 540278a

Please sign in to comment.