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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource for creating AD users #19853

Open
GBrawl opened this issue Jun 17, 2021 · 4 comments 路 May be fixed by #19769
Open

Resource for creating AD users #19853

GBrawl opened this issue Jun 17, 2021 · 4 comments 路 May be fixed by #19769
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/workdocs Issues and PRs that pertain to the workdocs service.

Comments

@GBrawl
Copy link

GBrawl commented Jun 17, 2021

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I'm raising this issue to check if there is any interest in a resource for creating ad users using the AWS WorkDocs API.

For our use case we wanted to create new users in a directory and then assign them to a new workspace created with Terraform (using the user_name argument of aws_workspaces_workspace). Using the web UI this was possible, but using Terraform this was rather difficult because there was no resource for creating AD users (except using the ad_user resource, but this requires having a machine running in the same VPC as the AD instance so Terraform can access it).

I already created this resource to show it is possible (see #19769). Please let us know if there is more interest to have this in the provider!

New or Affected Resource(s)

  • aws_ad_user

Potential Terraform Configuration

resource "aws_ad_user" "user" {
  email_address = "user@org.com"
  given_name = "Jane"
  organization_id = "d-********"
  password = "P4SSW0RD"
  surname = "Doe"
  username = "janedoe"
}

References

@GBrawl GBrawl added the enhancement Requests to existing resources that expand the functionality or scope. label Jun 17, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Jun 17, 2021
@wspitaels
Copy link

I need this too, I am currently manually creating every user pls implement!! 鈽癸笍

@ewbankkit ewbankkit added service/workdocs Issues and PRs that pertain to the workdocs service. new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels Jun 17, 2021
@GBrawl GBrawl linked a pull request Aug 3, 2021 that will close this issue
@s33dunda
Copy link

s33dunda commented Mar 15, 2022

Yes please. I just learned that importing the workspace users after creating them via console was not enough. Since the users have to be created within the directory. (Something the aws console does when creating a new workspace user)

@LennertMertens
Copy link

I really need this, honestly I don't understand why this isn't a priority? It feels like this really is a missing feature, because there is no other way to automate this user creation.

@klborders
Copy link

Raise your hand if your terraform only deploys workspaces for 'Administrator'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Requests to existing resources that expand the functionality or scope. new-resource Introduces a new resource. service/workdocs Issues and PRs that pertain to the workdocs service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants