diff --git a/base.tf.j2 b/base.tf.j2 index 116c348..d6dd3dd 100644 --- a/base.tf.j2 +++ b/base.tf.j2 @@ -421,7 +421,7 @@ resource "kubernetes_deployment" "main" { {% block kubernetes_pod_main_tolerations %} dynamic "toleration" { - for_each = data.coder_parameter.gpu.value == 0 ? [] : [1] + for_each = data.coder_parameter.gpu.value == "0" ? [] : [1] content { key = "nvidia.com/gpu"