Skip to content

Commit d8526af

Browse files
committed
Remove api key validation
1 parent 95f8bcf commit d8526af

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/user_data/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ variable "api_key_secret_arn" {
1414
description = "ARN of the secret holding the Datadog API key. Takes precedence over api_key variable"
1515
type = string
1616
default = null
17-
18-
validation {
19-
condition = length(var.api_key) == 32 && can(regex("^[[:alnum:]]+$", var.api_key))
20-
error_message = "A valid API key must be present in order to plan/apply this module."
21-
}
2217
}
2318

2419
variable "site" {

0 commit comments

Comments
 (0)