Skip to content

Commit

Permalink
revert: remove KMS key validation
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheerde committed Dec 23, 2024
1 parent 68c539d commit 47e6f04
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
variable "kms_key_arn" {
description = "The ARN of the KMS key to use with the Lambda function"
type = string

validation {
condition = can(regex("arn:aws:kms:[a-z0-9-]+:[0-9]+:key/[a-f0-9-]+", var.kms_key_arn))
error_message = "KMS key ARN must be in the format arn:aws:kms:<region>:<account>:key/<key-id>"
}
}

variable "resource_composition" {
Expand Down

0 comments on commit 47e6f04

Please sign in to comment.