Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kerwin612 committed Oct 29, 2024
1 parent 0a20fe8 commit b88f516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jetbrains-gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ variable "releases_base_link" {
description = ""
default = "https://data.services.jetbrains.com"
validation {
condition = can(regex("^(https?:\/\/)?[0-9a-zA-Z]+\.[-_0-9a-zA-Z]+\.[0-9a-zA-Z]+$", var.releases_base_link))
condition = can(regex("^https?://.*$", var.releases_base_link))
error_message = "The releases_base_link must be a valid HTTP/S address."
}
}
Expand All @@ -161,7 +161,7 @@ variable "download_base_link" {
description = ""
default = "https://download.jetbrains.com"
validation {
condition = can(regex("^(https?:\/\/)?[0-9a-zA-Z]+\.[-_0-9a-zA-Z]+\.[0-9a-zA-Z]+$", var.download_base_link))
condition = can(regex("^https?://.*$", var.download_base_link))
error_message = "The download_base_link must be a valid HTTP/S address."
}
}
Expand Down

0 comments on commit b88f516

Please sign in to comment.