Update windows-ad/populate_ad/README.md

This commit is contained in:
Ryan Malloy 2024-11-14 18:50:03 +00:00
parent 945fca03d8
commit 0af8e817e1
1 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,20 @@
# Setup Active Directory Lab
[Source](https://activedirectorypro.com/create-active-directory-test-environment/#requirments)
```hcl
# https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file.html
data "template_file" "init" {
template = "${file("populate_ad/run.ps1.tpl")}"
vars = {
forest_mode = ""
domain_mode = ""
domain_name = "${aws_instance.some.private_ip}"
domain_netbios_name = ""
safe_mode_password = ""
domain_admin_password = ""
}
}
```