Closed Rodriguevb closed 7 months ago
Hey @Rodriguevb ,
This error is not related to the codebuild runtime, but to the sam cli version being outdated. If you'd run pip install --upgrade aws-sam-cli
before the sam build
that should do the trick.
However, I believe that the ticket shouldn't be closed, as the image should definitely have the SAM CLI updated to be able to support the runtimes the image does.
Any update on this?
This issue is addressed by #697
Describe the bug The
amazonlinux2-aarch64-standard:3.0
(current latest image version) usesSAM CLI v1.79.0
. However, the latest python version is 3.11 and this version of SAM does not support python3.11.To Reproduce
buildspec.yml
Logs
Platform (please complete the following information):
Question How can I force SAM to use the latest version ? Or can you increase the SAM version used by default?