ghostinthewires / Terraform-Templates

Terraform Templates to Deploy Infrastructure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change the DC settings during install

scarytoon opened this issue · comments

Hi

First of all the scripts are amazing. Thanks for sharing. Just a small point in regards to DC's in azure.

I was trying to change the scripts to the DC's have a additional Datadisk (F:\ drive), so during the installation / promo to dc, you can change the settings for Database path, sysvol and logs to F:\

no luck. Its falling over since the powershell command does not like paths

configure_ad_command = "Install-ADDSForest -CreateDnsDelegation:$false -DomainMode Win2012R2 -DomainName ${var.active_directory_domain} -DomainNetbiosName ${var.active_directory_netbios_name} -ForestMode Win2012R2 -InstallDns:$true -SafeModeAdministratorPassword $password -Force:$true"

Thanks