-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Keep getting this error on resource manager. Nothing has changed on our end.
`Error: Error in function call
on .terraform/modules/oci-oke/oke.tf line 77, in resource "oci_containerengine_node_pool" "oci_oke_node_pool"
77: image_id = (var.node_pool_image_type == "oke"" && length(regexall(""GPU|A1"", var.node_shape)) == 0) ? (element([for source in local.node_pool_image_ids : source.image_id if length(regexall(""Oracle-Linux-${var.node_linux_version}-20[0-9].-OKE-${local.k8s_version_only}"", source.source_name)) > 0], 0)) : (var.node_pool_image_type == ""oke"" && length(regexall(""GPU"", var.node_shape)) > 0) ? (element([for source in local.node_pool_image_ids : source.image_id if length(regexall(""Oracle-Linux-${var.node_linux_version}-Gen[0-9]-GPU-20[0-9].-OKE-${local.k8s_version_only}"", source.source_name)) > 0], 0)) : (var.node_pool_image_type == ""oke"" && length(regexall(""A1"", var.node_shape)) > 0) ? (element([for source in local.node_pool_image_ids : source.image_id if length(regexall(""Oracle-Linux-${var.node_linux_version}-aarch64-20[0-9].-OKE-${local.k8s_version_only}",source.source_name))>0],0)) null
├────────────────
│ local.k8s_version_only is "1.26.2"
│ local.node_pool_image_ids is list of object with 104 elements
│ var.node_linux_version is "7.9"
Call to function "element" failed: cannot use element function with an empty
list.
`