From bc9ae35d5b97047ca3de64bed822c7fa5d80d2f3 Mon Sep 17 00:00:00 2001 From: janli Date: Tue, 4 Jun 2024 10:43:43 -0700 Subject: [PATCH] fix: update kubernetes api --- k8s.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s.tf b/k8s.tf index cdb79e3..82d1460 100644 --- a/k8s.tf +++ b/k8s.tf @@ -76,7 +76,7 @@ resource "kubernetes_deployment_v1" "waggle_dance" { } spec { - service_account_name = kubernetes_service_account.waggle_dance[0].metadata.0.name + service_account_name = kubernetes_service_account_v1.waggle_dance[0].metadata.0.name automount_service_account_token = true container { image = "${var.docker_image}:${var.docker_version}"