demo-terraform/windows-ad/populate_ad/README.md

20 lines
513 B
Markdown
Raw Normal View History

# 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 = ""
}
}
```