diff --git a/Terraform/main.tf b/Terraform/main.tf index 734f680..860e011 100644 --- a/Terraform/main.tf +++ b/Terraform/main.tf @@ -207,7 +207,7 @@ resource "aws_instance" "dc" { provisioner "remote-exec" { inline = [ "choco install -force -y winpcap", - "powershell -c \"$ifindex = get-netipinterface | where-object InterfaceAlias -eq 'Ethernet' | where-object AddressFamily -eq 2 | select-object -ExpandProperty ifIndex; set-dnsclientserveraddress -InterfaceIndex $ifindex\"", + "powershell -c \"$ifindex = get-netipinterface | where-object InterfaceAlias -eq 'Ethernet' | where-object AddressFamily -eq 2 | select-object -ExpandProperty ifIndex; set-dnsclientserveraddress -InterfaceIndex $ifindex -ServerAddresses ('127.0.0.1','8.8.8.8')\"", "ipconfig /all" ]