terraform-provider-coder icon indicating copy to clipboard operation
terraform-provider-coder copied to clipboard

Add `coder_user` data source

Open matifali opened this issue 1 year ago • 0 comments

Extracted from https://github.com/coder/envbuilder/pull/174#discussion_r1591093964

The properties that are per user and not per workspace should be added/refactored to the new data source, coder_user.

Other properties that should be added or moved from coder_workspace can be

  1. coder_workspace.owner -> coder_user.name
  2. coder_workspace.owner_name -> coder_user.full_name
  3. coder_workspace.owner_emial -> coder_user.email
  4. Add coder_user.private_ssh_key
  5. Add coder_user.public_ssh_key
  6. Add coder_user.groups (A list of all groups if applicable)

matifali avatar May 06 '24 20:05 matifali