-
Notifications
You must be signed in to change notification settings - Fork 17
(2024.08) Preparing Infrastructure AMI Failure
Mohjeet edited this page Oct 3, 2024
·
1 revision
When preparing AMIs using EC2 Image Builder per the directions listed in the Prerequisites Documentation, the building process will fail with the following error message:
CmdExecution: [ERROR] Command execution has resulted in an error
This is due to errors in the dependencies file that is provided in the documentation.
2024.08
Creating new EC2 Image Builder resources:
Follow these steps if you have never prepared AMIs for RES instances.
- Download the updated res-infra-dependencies.tar.gz file
- Follow the steps listed under Prepare Amazon Machine Images (AMIs) in the Prerequisites page.
Reusing previous EC2 Image Builder resources:
Follow these steps if you have prepared AMIs for RES instances.
- Download the updated res-infra-dependencies.tar.gz file
- Navigate to EC2 Image Builder → Components → Click on the Component created for preparing RES AMIs
- Note the S3 location listed under Content → DownloadRESInstallScripts step → inputs → source
- The S3 location found above contains the dependencies file that was previously used, replace this file with the file downloaded above