From 9c4d1443f6a492b4fcb6d9dc9b601dc74021fa7e Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sat, 25 May 2024 14:14:12 +0200 Subject: [PATCH] fix: wrong variable name in admin entity --- admin_approle.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_approle.tf b/admin_approle.tf index 1c11833..e3d187c 100644 --- a/admin_approle.tf +++ b/admin_approle.tf @@ -13,7 +13,7 @@ resource "vault_approle_auth_backend_role_secret_id" "tenant_admin" { } resource "vault_identity_entity" "tenant_admin" { - name = "${each.value.prefix}-admin" + name = "${var.tenant_prefix}-admin" metadata = { tenant = var.tenant_name prefix = var.tenant_prefix