Skip to content

Commit

Permalink
Fix with toset (#311)
Browse files Browse the repository at this point in the history
Co-authored-by: daniele <daniele.pompa@20tab.com>
  • Loading branch information
daniele-20tab and daniele authored Apr 2, 2024
1 parent 3ab0535 commit b36e8f8
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 b36e8f8

Please sign in to comment.