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

513 B

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