Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wildcard filter - or no filter - does not return any workspaces. #29

Open
away168 opened this issue Sep 26, 2024 · 0 comments
Open

wildcard filter - or no filter - does not return any workspaces. #29

away168 opened this issue Sep 26, 2024 · 0 comments

Comments

@away168
Copy link
Contributor

away168 commented Sep 26, 2024

using no tfc_workspace_names variable returns on workspaces.

filtered_workspaces_by_name = [
for workspace in local.workspaces_from_response : workspace if contains(var.tfc_workspace_names, workspace["attributes"]["name"])
]

i also tried using tfc_workspace_names = ["*"] but it also did not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant