diff --git a/images/linux/scripts/installers/aws-sam-cli.sh b/images/linux/scripts/installers/aws-sam-cli.sh index a8512e61a..97ceb2135 100644 --- a/images/linux/scripts/installers/aws-sam-cli.sh +++ b/images/linux/scripts/installers/aws-sam-cli.sh @@ -9,11 +9,11 @@ source $HELPER_SCRIPTS/document.sh # Download latest aws sam cli sources -TarballUrl=$(curl -s https://api.github.com/repos/awslabs/aws-sam-cli/releases/latest | jq -r '.tarball_url') +TarballUrl=$(curl -s https://api.github.com/repos/aws/aws-sam-cli/releases/latest | jq -r '.tarball_url') TarballPath="/tmp/aws-sam-cli.tar.gz" wget $TarballUrl -O $TarballPath tar -xzvf $TarballPath -C /tmp -cd /tmp/awslabs-aws-sam-cli* +cd /tmp/aws-aws-sam-cli* mkdir /opt/python-aws-sam-cli cp -r /opt/hostedtoolcache/Python/3.7* /opt/python-aws-sam-cli