Skip to content

Commit

Permalink
Hotfix dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele committed Apr 2, 2024
1 parent c673a76 commit 41acfd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/vault/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41acfd1

Please sign in to comment.