diff --git a/windows-ad/populate_ad/README.md b/windows-ad/populate_ad/README.md index 22bdd31..d61db59 100644 --- a/windows-ad/populate_ad/README.md +++ b/windows-ad/populate_ad/README.md @@ -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 = "" + } +} +``` \ No newline at end of file