diff --git a/env-vs.tf b/env-vs.tf index 2f46286..1def40d 100644 --- a/env-vs.tf +++ b/env-vs.tf @@ -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 ] ]) }