Skip to content

Support version 4.19 #830

@lionelmace

Description

@lionelmace

Is there any technical reason why 4.19 would not be supported?

Error: Invalid value for variable
│
│   on main.tf line 167, in module "ocp_base":
│  167:   ocp_version                      = var.ocp_version
│     ├────────────────
│     │ var.ocp_version is "4.19"
│
│ The specified ocp_version is not of the valid versions.
variable "ocp_version" {
  type        = string
  description = "The version of the OpenShift cluster that should be provisioned (format 4.x). If no value is specified, the current default version is used. You can also specify `default`. This input is used only during initial cluster provisioning and is ignored for updates. To prevent possible destructive changes, update the cluster version outside of Terraform."
  default     = null

  validation {
    condition = anytrue([
      var.ocp_version == null,
      var.ocp_version == "default",
      var.ocp_version == "4.14",
      var.ocp_version == "4.15",
      var.ocp_version == "4.16",
      var.ocp_version == "4.17",
      var.ocp_version == "4.18",
    ])
    error_message = "The specified ocp_version is not of the valid versions."
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions