Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cap on host id length #4

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions variable.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ variable "hosted_zone_id" {
description = "The ID of the hosted zone in which to create the record."

validation {
condition = length(regexall("^[A-Z0-9]{10,20}$", var.hosted_zone_id)) == 1
error_message = "The hosted_zone_id must be a valid ID in the format of a string between 10 and 20 characters, containing only uppercase letters and digits."
condition = length(regexall("^[A-Z0-9]{10,256}$", var.hosted_zone_id)) == 1
error_message = "The hosted_zone_id must be a valid ID in the format of a string between 10 and 256 characters, containing only uppercase letters and digits."
}
}

Expand Down