creates ssm document to join ad domain
creates ssm document to join ad domain
- http://www.sanjeevnandam.com/blog/aws-microsoft-ad-setup-with-terraform
- https://aws.amazon.com/blogs/security/how-to-configure-your-ec2-instances-to-automatically-join-a-microsoft-active-directory-domain/
- https://forums.aws.amazon.com/thread.jspa?threadID=181520
This module requires Terraform version 0.10.x
or newer.
This module depends on a correctly configured AWS Provider in your Terraform codebase.
Need a way of finding all the machine names of instances are active (i.e. they exist in AWS and are not terminated). Then goes through Active Directory and delete all commputers that aren't active. SimpleAD does not support the Powershell AD interface so need to use dsrm command