diff --git a/base.tf.j2 b/base.tf.j2 index 3f92a29..4772dc9 100644 --- a/base.tf.j2 +++ b/base.tf.j2 @@ -420,10 +420,10 @@ resource "kubernetes_deployment" "main" { {% endblock %} {% block kubernetes_pod_main_tolerations %} - dynamic "gpu_toleration" { + dynamic "toleration" { for_each = data.coder_parameter.gpu.value == 0 ? [] : [1] - toleration { + content { key = "nvidia.com/gpu" operator = "Exists" effect = "NoSchedule"