-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
74 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../common/module/inputs.tf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../common/module/locals.tf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Global Terraform | ||
variable "environment" { | ||
description = "Architecture Environment" | ||
type = string | ||
} | ||
|
||
variable "team" { | ||
type = string | ||
default = "claranet" | ||
} | ||
|
||
# Global DataDog | ||
variable "evaluation_delay" { | ||
description = "Delay in seconds for the metric evaluation" | ||
default = 15 | ||
} | ||
|
||
variable "new_host_delay" { | ||
description = "Delay in seconds before monitor new resource" | ||
default = 300 | ||
} | ||
|
||
variable "new_group_delay" { | ||
description = "Delay in seconds before monitor new resource" | ||
default = 300 | ||
} | ||
|
||
variable "timeout_h" { | ||
description = "Default auto-resolving state (in hours)" | ||
default = 0 | ||
} | ||
|
||
variable "prefix_slug" { | ||
description = "Prefix string to prepend between brackets on every monitors names" | ||
default = "" | ||
} | ||
|
||
variable "notify_no_data" { | ||
description = "Will raise no data alert if set to true" | ||
default = true | ||
} | ||
|
||
variable "message" { | ||
description = "Message sent when an alert is triggered" | ||
} | ||
|
||
variable "filter_tags_use_defaults" { | ||
description = "Use default filter tags convention" | ||
default = "true" | ||
} | ||
|
||
variable "filter_tags_custom" { | ||
description = "Tags used for custom filtering when filter_tags_use_defaults is false" | ||
default = "*" | ||
} | ||
|
||
variable "filter_tags_custom_excluded" { | ||
description = "Tags excluded for custom filtering when filter_tags_use_defaults is false" | ||
default = "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
locals { | ||
common_tags = ["env:${var.environment}", "team:${var.team}", "created-by:terraform"] | ||
} |