review suggestions

pull/226/head
Muhammad Atif Ali 1 year ago committed by GitHub
parent f927e438d0
commit 016a180366
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -53,7 +53,7 @@ variable "coder_parameter_order" {
variable "latest" { variable "latest" {
type = bool type = bool
description = "Whether to fetch the latest version of the IDE." description = "Whether to fetch the latest version of the IDE."
default = true default = false
} }
variable "channel" { variable "channel" {
@ -61,7 +61,7 @@ variable "channel" {
description = "JetBrains IDE release channel. Valid values are release and eap." description = "JetBrains IDE release channel. Valid values are release and eap."
default = "release" default = "release"
validation { validation {
condition = can(regex("^(?:release|eap)$", var.channel)) condition = can(regex("^(release|eap)$", var.channel))
error_message = "The channel must be either release or eap." error_message = "The channel must be either release or eap."
} }
} }

Loading…
Cancel
Save