When attempting to SysPrep an AWS Windows Server 2016 instance using Packer the following error is thrown:
Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]
I'm calling the SysprepInstance.ps1
script as specified on http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2launch.html#ec2launch-sysprep.