aws-samples / aws-samples/amazon-workspaces-serverless-image-creation-automation

Image Generation Bug

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hello, I have two issues with image generation I am looking for advice on. Anytime I start an execution that involves a RUN_COMMAND that installs software via msiexec my build freezes at 55% before eventually erroring out. Is there anything that can be done to debug these errors? The logs in cloudwatch do not seem helpful for this unless I am missing something. Secondly, are the quotes in the RUN_COMMAND element enough to account for spaces in file paths or do I need to do something in particular to handle that? Manifest below...

{
"DeleteBuilder": true,
"CreateBundle": true,
"SkipWindowsUpdates": false,
"ImageNamePrefix": "WKS_Auto",
"ImageTags": [
{
"Key": "Automation",
"Value": "Created by automated step function"
}
],
"BundleNamePrefix": "WKS_Auto_Bundle",
"InstallRoutine": [
[
"DOWNLOAD_S3",
"s3://obfuscatedi/notepad_plus_plus/npp.8.6.9.Installer.x64.exe",
"c:\\wks_automation\\notepad_plus_plus\\"
],
[
"RUN_COMMAND",
"c:\\wks_automation\\notepad_plus_plus\\npp.8.6.9.Installer.x64.exe /S"
],
[
"DOWNLOAD_S3",
"s3://obfuscated/google_chrome/googlechromestandaloneenterprise64.msi",
"c:\\wks_automation\\google_chrome\\"
],
[
"RUN_COMMAND",
"msiexec /i c:\\wks_automation\\google_chrome\\googlechromestandaloneenterprise64.msi /qn"
],
[
"RUN_COMMAND",
"c:\\Program Files\\Mozilla Firefox\\uninstall\\helper.exe -ms"
]
]
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.