Skip to content

Commit

Permalink
fix: Use correct varibale set logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mbevc1 committed Aug 29, 2023
1 parent 6de6a72 commit 8c1ef01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env-vs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ locals {
for w in contains(keys(obj), "workspaces") ? obj.workspaces : [] : { # Only if workspaces key is present
name = name
workspace = w
} if lookup(obj, "global", false) # Only if has key and not a global Variable set
} if !lookup(obj, "global", false) # Only if not a global Variable set, default to false
]
])
}
Expand Down

0 comments on commit 8c1ef01

Please sign in to comment.