-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Is AWS Directory Services supported? #2573
Comments
Hi @jkodroff - you're correct that we don't yet have any support for Directory Services resources, and it'd be great if you wanted to work on a PR! From reading the API docs - it looks like the first resources would probably be So something like: resource "aws_directoryservice_directory" "foo" {
name = "foo"
password = "secret"
size = "large"
}
resource "aws_directoryservice_computer" "compu" {
directory_id = "${aws_directoryservice_directory.foo.id}"
computer_name = "compu"
// terraform autogenerates password perhaps?
}
output "compu_join_password" {
value = "${aws_directoryservice_computer.foo.password}"
} What do you think? Once we land on a candidate config, there are plenty of examples of resources in the AWS provider that you can copy from to get going. |
Yeah, that's about what I had in mind. I'm going to give this a shot. I'm pretty motivated to do it since I'm terrible at AWS, am running |
@phinze Are there any existing resources which auto-generate a password? |
I'm also interested in getting this working. How far did you get @jkodroff? Thanks |
@lea-anthony @phinze My apologies. I kinda lost steam on this as I got pulled onto something else at work as we shelved our cloud plans. My work can be found here. I was trying to muddle my way through creating the tests when I left off, so I don't have a good idea of whether the stuff I've written works at all. (I was copying the other AWS resources if that's any help, and I do know it compiles, minus the tests.) If someone wants to finish the feature, that would be awesome. |
It looks like #3228 gets us |
So now it's possible to setup a directory, are there any way to join the EC2 instances to the direcotry, or are we still waiting for this? |
@AzCii There is no btw. it seems there's only |
I see little value is a There is now the |
Hey Friends – I'm going to go ahead and close this for now. IF someone wants to pick up the torch and add the mentioned |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I'd like to use AWS Directory Services to avoid having to create a Domain Controller as an actual EC2 instance. It looks like the AWS SDK for Go supports it, but I don't see anything relating to it in the Terraform docs nor did I see any open PRs relating to it.
Assuming this isn't already supported, I'd be willing to give a PR a go for this (pun accidental). If this is a feature Terraform doesn't support, and would like to support, I'd appreciate it if someone could point me to a spot in the Terraform codebase I could use as an example.
The text was updated successfully, but these errors were encountered: