aws-sam-cli

CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM (by aws)

Aws-sam-cli Alternatives

Similar projects and alternatives to aws-sam-cli

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better aws-sam-cli alternative or higher similarity.

Suggest an alternative to aws-sam-cli

Reviews and mentions

Posts with mentions or reviews of aws-sam-cli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-24.
  • How to Use Source Maps in TypeScript Lambda Functions (with Benchmarks)
    11 projects | dev.to | 24 Jan 2022
    SAM support for TypeScript has been lagging for some time, but a pull request was just merged that should change that. It looks like we'll be able to add an aws_sam key in the package.json file to enable building within the SAM engine as part of sam build. Although this PR has been merged to aws-lambda-builders, the engine behind sam build, it will still need to be added to aws-sam-cli and released (to much fanfare, one expects) before it can be used with SAM.
  • How to Build a Node.js Serverless Application using AWS SAM
    1 project | dev.to | 22 Jan 2022
    I am installing SAM CLI on windows and its super simple. All I need to do is Click on this MSI installer.
  • Serverless AWS With Monorepos
    6 projects | dev.to | 30 Nov 2021
    sem-version java 8 wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip unzip aws-sam-cli-linux-x86_64.zip -d sam-installation sudo ./sam-installation/install checkout cd java-app-backend cache restore build-java-app-backend-$SEMAPHORE_GIT_BRANCH sam deploy --no-confirm-changeset --stack-name serverless-web-application-java-backend --capabilities CAPABILITY_AUTO_EXPAND CAPABILITY_IAM
  • Localstack – Local AWS Emulator
    9 projects | news.ycombinator.com | 10 Oct 2021
  • Move your AWS Lambdas to Graviton2 easily with Cloudformation/SAM
    1 project | dev.to | 4 Oct 2021
    AWS SAM CLI
  • AWS Lambda – Dev environment in 120 seconds
    3 projects | dev.to | 28 Sep 2021
    #!/usr/bin/env bash set -e if [ "$(id -u)" -ne 0 ]; then echo -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.' exit 1 fi curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install rm -rf ./aws rm ./awscliv2.zip echo "AWS CLI version `aws --version`" curl -L "https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip" -o "aws-sam-cli-linux-x86_64.zip" unzip aws-sam-cli-linux-x86_64.zip -d sam-installation sudo ./sam-installation/install echo "SAM version `sam --version`" rm -rf ./sam-installation rm ./aws-sam-cli-linux-x86_64.zip wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb sudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y dotnet-sdk-3.1 # Installing lambda tools was required to get lambda to work while I was testing different approaches. It may have become redundant after so many iterations and changes to the script, but probably does not hurt dotnet tool install -g Amazon.Lambda.Tools export PATH="$PATH:$HOME/.dotnet/tools"
  • Error when deploying AWS SAM for the first time
    2 projects | reddit.com/r/aws | 7 Sep 2021
  • API Gateway Authorizer support in SAM Local!
    1 project | reddit.com/r/awslambda | 30 Aug 2021
  • Bootstrapping a Startup on AWS with AWS Serverless and Go
    8 projects | dev.to | 17 Jun 2021
    workflow: variables: AWS_DEFAULT_REGION: "eu-west-1" WORKSPACE: "dev" TF_ENVIRONMENT: "terraform" stages: - terraform-apply terraform-apply: image: google/cloud-sdk:slim stage: terraform-apply before_script: - apt-get install -y unzip make jq - curl https://releases.hashicorp.com/terraform/0.12.29/terraform_0.12.29_linux_amd64.zip --output /tmp/terraform.zip - unzip /tmp/terraform.zip -d /tmp - chmod +x /tmp/terraform - mv /tmp/terraform /usr/local/bin/ - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.0.30.zip" -o "awscliv2.zip" - unzip -q awscliv2.zip - ./aws/install - aws sts get-caller-identity - curl --location "https://github.com/aws/aws-sam-cli/releases/download/v1.18.1/aws-sam-cli-linux-x86_64.zip" -o "awssamcli.zip" - unzip -q awssamcli.zip - ./install - sam --version - curl --location https://github.com/terraform-linters/tflint/releases/download/v0.21.0/tflint_linux_amd64.zip -o /tmp/tflint.zip - unzip /tmp/tflint.zip -d /tmp - chmod +x /tmp/tflint - mv /tmp/tflint /usr/local/bin/ script: - echo yes | make tf-apply
  • Build Serverless Applications using CDK and SAM
    4 projects | dev.to | 21 May 2021
    We were able to test our API and Lambda using the new Serverless Application Model integration with CDK! You can find all code on my GitHub. Be aware that this feature is in preview. Feel free to do more extensive testing. You can report bugs and submit feature requests to the SAM opensource repository.
  • Breaking changes in AWS SAM 1.22, how do I downgrade?
    2 projects | reddit.com/r/aws | 23 Apr 2021
  • Using container image support for AWS Lambda with AWS SAM and Codebuild/Codepipeline
    2 projects | dev.to | 6 Mar 2021
    version: 0.2 phases: install: runtime-versions: docker: 18 commands: - wget https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip - unzip aws-sam-cli-linux-x86_64.zip -d sam-installation - sam --version - ./sam-installation/install --update - /usr/local/bin/sam --version pre_build: commands: - aws ecr get-login-password --region ${AWS_REGION} | docker login --username AWS --password-stdin ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com build: commands: - cd sources && gradle build - /usr/local/bin/sam build --template-file ${CODEBUILD_SRC_DIR}/sources/sam.yml --region ${AWS_REGION} - /usr/local/bin/sam package --template-file ${CODEBUILD_SRC_DIR}/sources/.aws-sam/build/template.yaml --output-template-file ${CODEBUILD_SRC_DIR}/sources/packaged.yaml --image-repository ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/me.enryold/docker-lambda - /usr/local/bin/sam deploy --template-file ${CODEBUILD_SRC_DIR}/sources/packaged.yaml --stack-name ${PROJECT_NAME}-sam --capabilities CAPABILITY_NAMED_IAM --region ${AWS_REGION} --image-repository ${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com/me.enryold/docker-lambda
  • Quick Fix: AWS SAM Error: NodejsNpmBuilder:NpmPack
    1 project | dev.to | 4 Mar 2021
    you can read a detailed explanation here
  • Building Static Ruby Gems for Lambda Zip or Containers using Docker & Amazon Linux
    6 projects | dev.to | 21 Feb 2021
    Since this project is for Lambda, we used the base image provided by AWS SAM CLI.
  • AWS SAM CLI now has a Linux friendly installer option
    1 project | reddit.com/r/aws | 11 Feb 2021

Stats

Basic aws-sam-cli repo stats
16
5,843
9.4
3 days ago

aws/aws-sam-cli is an open source project licensed under Apache License 2.0 which is an OSI approved license.

Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org
Find remote Python jobs at our new job board 99remotejobs.com. There are 9 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.