Skip to content

Commit

Permalink
chore: missing tag overrides for cloud aws rds monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lynggaard91 committed Jul 29, 2024
1 parent 409c6a8 commit 1ff6cc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cloud/aws/rds/common/monitors-rds-common.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ EOQ
include_tags = true
require_full_window = false

tags = concat(["env:${var.environment}", "type:cloud", "provider:aws", "resource:rds", "team:claranet", "created-by:terraform"], var.cpu_extra_tags)
tags = concat(local.common_tags, var.tags, var.cpu_extra_tags)
}

### RDS instance free space monitor ###
Expand Down Expand Up @@ -57,7 +57,7 @@ EOQ
include_tags = true
require_full_window = false

tags = concat(["env:${var.environment}", "type:cloud", "provider:aws", "resource:rds", "team:claranet", "created-by:terraform"], var.diskspace_extra_tags)
tags = concat(local.common_tags, var.tags, var.diskspace_extra_tags)
}

### RDS Replica Lag monitor ###
Expand Down Expand Up @@ -87,7 +87,7 @@ EOQ
include_tags = true
require_full_window = false

tags = concat(["env:${var.environment}", "type:cloud", "provider:aws", "resource:rds", "team:claranet", "created-by:terraform"], var.replicalag_extra_tags)
tags = concat(local.common_tags, var.tags, var.replicalag_extra_tags)
}

resource "datadog_monitor" "rds_connection_variance" {
Expand Down Expand Up @@ -120,5 +120,5 @@ EOQ
include_tags = true
require_full_window = false

tags = concat(["env:${var.environment}", "type:cloud", "provider:aws", "resource:rds", "team:claranet", "created-by:terraform"], var.connection_variance_extra_tags)
tags = concat(local.common_tags, var.tags, var.connection_variance_extra_tags)
}

0 comments on commit 1ff6cc6

Please sign in to comment.