Aws Workspaces - How to Create Users in a directory?

Hey everyone!

Looking into AWS Workspaces, and I’m missing one vital component.

I have read through the documentation for creating a workspace, and creating a directory. The problem is when creating a workspace, the workspace user_name must exist in the directory.

Is there either:

A: A way to create users when creating a directory

B: Create users in an existing directory?

Workspace Page:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/workspaces_workspace

Directory Page:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/workspaces_directory

5 Likes

hi mark even i have the same doubt please let me know if you get get an answer for this query

Facing the same issue. Any updates or suggestions?
Thank you.