demo-terraform/windows-ad/populate_ad
Ryan Malloy 0af8e817e1 Update windows-ad/populate_ad/README.md 2024-11-14 18:50:03 +00:00
..
ActiveDirectory_Lab_Scripts.zip Upload files to "windows-ad/populate_ad" 2024-11-14 18:49:01 +00:00
README.md Update windows-ad/populate_ad/README.md 2024-11-14 18:50:03 +00:00
create_groups.ps1 Upload files to "windows-ad/populate_ad" 2024-11-14 18:18:46 +00:00
create_ous.ps1 Upload files to "windows-ad/populate_ad" 2024-11-14 18:18:46 +00:00
create_users.ps1 Upload files to "windows-ad/populate_ad" 2024-11-14 18:18:46 +00:00
groups.csv Upload files to "windows-ad/populate_ad" 2024-11-14 18:18:46 +00:00
install.ps1 Update windows-ad/populate_ad/install.ps1 2024-11-14 18:44:09 +00:00
ous.csv Upload files to "windows-ad/populate_ad" 2024-11-14 18:18:46 +00:00
run.ps1 Update windows-ad/populate_ad/run.ps1 2024-11-14 18:49:38 +00:00
users.csv Upload files to "windows-ad/populate_ad" 2024-11-14 18:18:46 +00:00

README.md

Setup Active Directory Lab

Source

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