title: Terraform - self.default_ip_address / ipv4_address missmatch
body: <p>I have some annoying problem here.</p>
  <p>I am trying to use file and remote-exec provisioners when creating (Windows) VM-s with Terraform.</p>
  <p>Please see my template (this is only for a VM, I separated it from the variables and the core infrastructure for now) here: <a href="https://code.prkr.li/60463d5e2b38ad032b4b6678" rel="nofollow noreferrer">https://code.prkr.li/60463d5e2b38ad032b4b6678</a></p>
  <p>The only thing that does not work presently is using the self.default_ip_address as a host for the provisioner's connection. The task (as seen in the Terraform logs in Jenkins) tries to connect to the IP address that the VM got from DHCP...</p>
  <p><a href="https://i.stack.imgur.com/BuvrS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BuvrS.png" alt="enter image description here" /></a></p>
  <p>...instead of what is defined in the (customization) config...</p>
  <p><a href="https://i.stack.imgur.com/yE1PM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yE1PM.png" alt="enter image description here" /></a></p>
  <p>So I suppose viable solutions would be:</p>
  <ul>
  <li>refreshing the default IP</li>
  <li>using hostname (not sure if that is possible, did not manage to find the right syntax)</li>
  <li>???</li>
  </ul>
  <p>Any ideas / suggestion please?</p>