diff --git a/horizontal_pod_autoscaler.tf b/horizontal_pod_autoscaler.tf index 0eedaed..9a98a8f 100644 --- a/horizontal_pod_autoscaler.tf +++ b/horizontal_pod_autoscaler.tf @@ -12,8 +12,9 @@ resource "kubernetes_horizontal_pod_autoscaler" "ambassador" { target_cpu_utilization_percentage = var.autoscaling_target_cpu_utilization_percentage scale_target_ref { - kind = "Deployment" - name = var.name + api_version = "extensions/v1beta1" + kind = "Deployment" + name = var.name } }