wardviaene / terraform-course

Course files for my Udemy course about Terraform
https://www.udemy.com/learn-devops-infrastructure-automation-with-terraform/?couponCode=TERRAFORM_GIT
1.59k stars 4.04k forks source link

In the PS script - quote the password and add /y #4

Closed kewalaka closed 7 years ago

kewalaka commented 7 years ago

The PowerShell script inside userdata fails if the password contains spaces, also, if the password is longer than 12 chars (i think it is) Windows will prompt to let you know that it will not work on older versions of Windows.

This simple PR fixes both issues.

wardviaene commented 7 years ago

makes sense, thanks!