feat: add login_type to coder_workspace_owner data source
...we can expose account type, i.e., password, github, oidc, or none (could be extracted to a new issue)
Originally posted by @matifali in https://github.com/coder/terraform-provider-coder/issues/219#issuecomment-2135511772
Hi, is this issue still open? I would like to give it a try.
Hi, is this issue still open? I would like to give it a try.
Yes, this issue has not yet been worked on!
Great, done!
Hi @pmareke thank your for your contribution. Could you run make gen to let the linter pass?
Hi @pmareke thank your for your contribution. Could you run
make gento let the linter pass?
Done!
https://github.com/coder/terraform-provider-coder/pull/287 updates the provider to add the field. A separate PR will be required in coder/coder to set CODER_WORKSPACE_OWNER_LOGIN_TYPE.
Thanks so much @johnstcn, I really like doing the PR!
#287 updates the provider to add the field. A separate PR will be required in
coder/coderto setCODER_WORKSPACE_OWNER_LOGIN_TYPE.
@johnstcn do you know if there was a subsequent PR raised for this?
Right now the provider just raises a warning each time: Warning: WARNING: The CODER_WORKSPACE_OWNER_LOGIN_TYPE env variable is not set.
Is it merged into release/1.0 branch?
@dannykopping @matifali looks like it wasn't. I can add one quickly. Edit: https://github.com/coder/coder/pull/15499 Edit edit: the above PR has been merged to coder/coder#main, we can release the updated provider version closer to when we cut the next release
We will close it in release v2.0