Packer Build fails with below error:
==> amazon-ebs: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]
[live ] ==> amazon-ebs: Step "StepProvision" failed, aborting...
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepConnect"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepGetPassword"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepRunSourceInstance"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepCleanupVolumes"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepSecurityGroup"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepKeyPair"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepNetworkInfo"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepSourceAMIInfo"
[live ] ==> amazon-ebs: aborted: skipping cleanup of step "StepPreValidate"
[live ] Build 'amazon-ebs' errored: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]
Does packer gets timed out ? is there any logs that can be used for troubleshooting ?