We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vpc-block-csi-driver
1 parent 14fa254 commit 2ada540Copy full SHA for 2ada540
main.tf
@@ -487,7 +487,7 @@ data "ibm_container_addons" "existing_addons" {
487
488
locals {
489
# for each cluster, look for installed csi driver to get version. If array is empty (no csi driver) then null is returned
490
- csi_driver_version = [
+ csi_driver_version = anytrue([for key, value in var.addons : true if key == "vpc-block-csi-driver" && value != null]) ? [var.addons["vpc-block-csi-driver"]] : [
491
for addon in data.ibm_container_addons.existing_addons.addons :
492
addon.version if addon.name == "vpc-block-csi-driver"
493
]
0 commit comments