From 1df78c2a203805caccebaee60f0ffc02ccd16a94 Mon Sep 17 00:00:00 2001 From: Carlos Flores <47229246+carflo@users.noreply.github.com> Date: Wed, 17 May 2023 16:16:01 -0700 Subject: [PATCH] fix: Correct image_pull_secret dynamic block iterator (#12) --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index ea7b6e3..44e3f2f 100644 --- a/main.tf +++ b/main.tf @@ -204,7 +204,7 @@ resource "kubernetes_service_account_v1" "this" { for_each = try(each.value.service_account.image_pull_secrets, []) content { - name = secret.value.name + name = image_pull_secret.value.name } }