Skip to content

Commit

Permalink
let image default to CLI version
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft committed Nov 13, 2023
1 parent ea029d7 commit b85c11a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions terraform/constellation-cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ variable "constellation_version" {
default = "@@CONSTELLATION_VERSION@@"
}

variable "image" {
type = string
description = "The node image reference or semantic release version."
default = "@@CONSTELLATION_VERSION@@"
}

variable "csp" {
type = string
description = "The cloud service provider to use."
Expand Down Expand Up @@ -105,15 +111,6 @@ variable "gcp_config" {
default = null
}

variable "image" {
type = string
description = "The node image reference or semantic release version."
validation {
condition = length(var.image) > 0
error_message = "The image reference must not be empty."
}
}

variable "kubernetes_version" {
type = string
description = "Kubernetes version."
Expand Down

0 comments on commit b85c11a

Please sign in to comment.