Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 7f0a6f9

Browse files
committed
Fixed lint error
1 parent 0a20fe8 commit 7f0a6f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jetbrains-gateway/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ variable "releases_base_link" {
151151
description = ""
152152
default = "https://data.services.jetbrains.com"
153153
validation {
154-
condition = can(regex("^(https?:\/\/)?[0-9a-zA-Z]+\.[-_0-9a-zA-Z]+\.[0-9a-zA-Z]+$", var.releases_base_link))
154+
condition = can(regex("^(https?://)?[0-9a-zA-Z]+.[-_0-9a-zA-Z]+.[0-9a-zA-Z]+$", var.releases_base_link))
155155
error_message = "The releases_base_link must be a valid HTTP/S address."
156156
}
157157
}
@@ -161,7 +161,7 @@ variable "download_base_link" {
161161
description = ""
162162
default = "https://download.jetbrains.com"
163163
validation {
164-
condition = can(regex("^(https?:\/\/)?[0-9a-zA-Z]+\.[-_0-9a-zA-Z]+\.[0-9a-zA-Z]+$", var.download_base_link))
164+
condition = can(regex("^(https?://)?[0-9a-zA-Z]+.[-_0-9a-zA-Z]+.[0-9a-zA-Z]+$", var.download_base_link))
165165
error_message = "The download_base_link must be a valid HTTP/S address."
166166
}
167167
}

0 commit comments

Comments
 (0)