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

New data source boundary_user #464

Closed
drewmullen opened this issue Sep 29, 2023 · 0 comments · Fixed by #468
Closed

New data source boundary_user #464

drewmullen opened this issue Sep 29, 2023 · 0 comments · Fixed by #468

Comments

@drewmullen
Copy link
Contributor

drewmullen commented Sep 29, 2023

The provider currently can only get a user id if the user was created by boundary provider. Thats not possible with the global user

Potential HCL:

data "boundary_user" "globaladmin" {
  name     = "global_admin"
  scope_id = "global"
}

Since boundary user read requires user_id, we'll need to perform a list operation and loop through users till we find the matching login_name. Once the ID is found perform a read and add to the state

If I have sometime next week I will work on this

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

Successfully merging a pull request may close this issue.

1 participant