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 } }