From 41acfd111f98378f0a73fe51ec85c50a1e326860 Mon Sep 17 00:00:00 2001 From: daniele Date: Tue, 2 Apr 2024 18:30:57 +0200 Subject: [PATCH] Hotfix dynamic --- terraform/vault/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/vault/main.tf b/terraform/vault/main.tf index 9490fe9..2d372c4 100644 --- a/terraform/vault/main.tf +++ b/terraform/vault/main.tf @@ -16,7 +16,7 @@ provider "vault" { token = var.vault_token dynamic "auth_login_oidc" { - for_each = var.vault_token == "" ? ["default"] : [] + for_each = toset(var.vault_token == "" ? ["default"] : []) content { role = auth_login_oidc.value