From 0af8e817e1dc3f775e759474d18486ba7fe44885 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Thu, 14 Nov 2024 18:50:03 +0000 Subject: [PATCH] Update windows-ad/populate_ad/README.md --- windows-ad/populate_ad/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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