Skip to content

Commit

Permalink
added changes to update validation block.
Browse files Browse the repository at this point in the history
  • Loading branch information
velotioaastha committed Mar 18, 2024
1 parent 8cc700e commit 30221d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,6 @@ variable "db_kms_key_arn" {
default = ""
validation {
condition = can(regex("^arn:aws:kms:[a-z0-9-]+:[0-9]+:[a-zA-Z0-9-_]+:[a-zA-Z0-9-_]+", var.db_kms_key_arn)) || var.db_kms_key_arn == ""
error_message = "Invalid value for bucket kms ARN"
error_message = "Invalid value for db kms ARN"
}
}

0 comments on commit 30221d0

Please sign in to comment.