CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

Overview

AWS SAM

Apache-2.0 SAM CLI Version

The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications. It provides shorthand syntax to express functions, APIs, databases, and event source mappings. With just a few lines of configuration, you can define the application you want and model it.

Getting Started with AWS SAM

AWS SAM CLI help menu

Get Started

To get started with building SAM-based applications, use the SAM CLI. SAM CLI provides a Lambda-like execution environment that lets you locally build, test, debug, and deploy applications defined by SAM templates.

Next Steps: Learn to build a more complex serverless application.

Detailed References: Explains SAM commands and usage in depth.

Why SAM

  • Single-deployment configuration. SAM makes it easy to organize related components and resources, and operate on a single stack. You can use SAM to share configuration (such as memory and timeouts) between resources, and deploy all related resources together as a single, versioned entity.

  • Local debugging and testing. Use SAM CLI to locally build, test, and debug SAM applications on a Lambda-like execution environment. It tightens the development loop by helping you find & troubleshoot issues locally that you might otherwise identify only after deploying to the cloud.

  • Deep integration with development tools. You can use SAM with a suite of tools you love and use.

  • Built-in best practices. You can use SAM to define and deploy your infrastructure as configuration. This makes it possible for you to use and enforce best practices through code reviews. Also, with a few lines of configuration, you can enable safe deployments through CodeDeploy, and can enable tracing using AWS X-Ray.

  • Extension of AWS CloudFormation. Because SAM is an extension of AWS CloudFormation, you get the reliable deployment capabilities of AWS CloudFormation. You can define resources by using CloudFormation in your SAM template. Also, you can use the full suite of resources, intrinsic functions, and other template features that are available in CloudFormation.

What is this Github repository? 💻

This Github Repository contains source code for SAM CLI. Here is the development team talking about this code:

SAM CLI code is written in Python. Source code is well documented, very modular, with 95% unit test coverage. It uses this awesome Python library called Click to manage the command line interaction and uses Docker to run Lambda functions locally. We think you'll like the code base. Clone it and run make pr or ./Make -pr on Windows!

Contribute to SAM

We love our contributors ❤️ We have over 100 contributors who have built various parts of the product. Read this testimonial from @ndobryanskyy to learn more about what it was like contributing to SAM.

Depending on your interest and skill, you can help build the different parts of the SAM project;

Enhance the SAM Specification

Make pull requests, report bugs, and share ideas to improve the full SAM template specification. Source code is located on Github at awslabs/serverless-application-model. Read the SAM Specification Contributing Guide to get started.

Strengthen SAM CLI

Add new commands or enhance existing ones, report bugs, or request new features for the SAM CLI. Source code is located on Github at awslabs/aws-sam-cli. Read the SAM CLI Contributing Guide to get started.

Update SAM Developer Guide

SAM Developer Guide provides comprehensive getting started guide and reference documentation. Source code is located on Github at awsdocs/aws-sam-developer-guide. Read the SAM Documentation Contribution Guide to get started.

Join the SAM Community on Slack

Join the SAM developers channel (#samdev) on Slack to collaborate with fellow community members and the AWS SAM team.

Comments
  • Feature request: make it possible to keep docker container warm

    Feature request: make it possible to keep docker container warm

    I understand from other issues that a new docker container is started for each request. This makes some experiments or automated tests undoable in practice. SAM Local is much too slow in the context where more then 1 request is to be handled.

    I suspect that hot reloading depends on this feature.

    I think it would be a good idea to make it possible to choose, while this project evolves further, to forego hot reloading, but to keep the docker container warm.

    Something like

    sam local start-api -p <PORT> --profile <AWS PROFILE> --keep-it-warm
    

    This would broaden the applicability of sam local enormously.

    Thank you for considering this suggestion. This looks like an awesome project.

    area/lambda-invoke type/feature priority/2-important stage/in-progress area/performance 
    opened by jandockx 81
  • Websocket Support for API Gateway

    Websocket Support for API Gateway

    Describe your idea/feature/enhancement

    As per the announcement of WebSocket support in API Gateway, adding WebSocket support to SAM would facilitate local development.

    Proposal

    Add WebSocket support to API Gateway functionality.

    This may be entirely out of scope of the SAM project, but came to mind when initially exploring API Gateway with WebSocket support.

    type/feature area/local/start-api maintainer/need-followup 
    opened by nicosuave 66
  • Provide linux installation without homebrew

    Provide linux installation without homebrew

    Homebrew is not common tool for linux systems. And it (homebrew) not only consume space and interfere with other tools, but it also works rather bad. Also SAM cli is only one tool that requires homebrew to be installed.

    There are a lot of better tools that provide linux system installation. Consider using them instead of uncommon homebrew and will make this tool linux-friendly.

    type/feature platform/linux area/installation 
    opened by SkeLLLa 56
  • esbuild (and TypeScript) Beta Support Feedback

    esbuild (and TypeScript) Beta Support Feedback

    esbuild Support Beta

    Recently, we added support for building Node.js and TypeScript lambda functions with esbuild. This allows for bundling and minification of Node.js functions and eases the process of writing TypeScript-based lambdas.

    We now want to hear your feedback on the experience.

    What feedback are we looking for?

    1. How is the new TypeScript development experience? Is there any way that we can make it better for building and testing TypeScript?
    2. How is the general user experience of configuring and using esbuild?
    type/question type/feedback 
    opened by mildaniel 51
  • SAM deploy doesn't set environment variables

    SAM deploy doesn't set environment variables

    Description

    When using AWS SAM for local development, I can introduce environment variables by setting them in the template with no value, and then defining them in my environment. However, when I go to deploy, the environment variables do not appear to be inserted by sam package or sam deploy, and I get the following error on deploy:

    Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: [/Resources/GeneratePlan/Type/Environment/Variables/SECRET_ACCESS_KEY] 'null' values are not allowed in templates
    

    Where SECRET_ACCESS_KEY is one of my environment variables. I cannot find any documentation detailing how to deploy projects with environment variables, either by having them defined in my environment or providing them in an alternate config.

    I don't want to add the environment variables to my template.yml directly because this is stored in Git, and I don't want to edit them manually into the packaged.yml file each time between the package and deploy steps as that's cumbersome.

    I haven't seen any steps in the documentation or similar issues, so I presume this is either an edge case bug or I am just missing something simple (in which case I might file this as a documentation bug) 😄

    Steps to reproduce

    The following config is a minimal excerpt from mine:

    AWSTemplateFormatVersion: '2010-09-09'
    
    Transform: AWS::Serverless-2016-10-31
    
    Globals:
    
      Function:
        Environment:
          Variables:
            SECRET_ACCESS_KEY:
    
    Resources:
    
      AnswerChallenge:
        Type: "AWS::Serverless::Function"
        Properties:
          Runtime: nodejs8.10
          Handler: build/functions/answerChallenge.default
          CodeUri: ./
          Policies: AmazonDynamoDBFullAccess
          Events:
            GetRequest:
              Type: Api
              Properties:
                Path: /event
                Method: get
    

    Observed result

    When I run sam start-api with SECRET_ACCESS_KEY defined, the lambda works as expected. When I attempt to deploy with sam package and sam deploy, I receive an error about undefined variables.

    Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

    1. OS: MacOS
    2. sam --version: 0.11
    type/ux type/feedback maintainer/need-followup 
    opened by chrisfosterelli 47
  • Debugging dotnet core apps with the SAM CLI

    Debugging dotnet core apps with the SAM CLI

    Currently the sam cli does not yet support debugging the dotnet core 2.0/2.1 runtimes with vscode. After #565 / #281 has been merged (thanks @jfuss and @austinlparker), I think it should be pretty straightforward to add in debugging support. I've been using vscode for dotnet core + lambda development a lot recently and this feature would be be very useful.

    The basic requirements to attach a remote debugger to dotnet core from the C# extension for vscode is outlined pretty well here: https://github.com/OmniSharp/omnisharp-vscode/wiki/Attaching-to-remote-processes. The main requirement is that VSDBG is setup within the container. It handles sending and receiving the debug adapter protocol messages to the remote debugger.

    Visual Studio can now communicate using the debug adapter protocol which is used by Visual Studio, Visual Studio Code and Visual Studio for Mac. This protocol is now used for debugging cross-platform .NET Core applications.

    After that is setup, it's just a matter of configuring vscode's launch.json to use pipeTransport.

    My plan would be to wait until #565 is merged before starting work on this. Thoughts?

    (also related to #500)

    area/ide type/feature area/docker area/debugging 
    opened by burck1 45
  • [Feature Request] CORS Support in start-api

    [Feature Request] CORS Support in start-api

    Full disclosure, this is my first attempt at working with a SAM template so it's likely I'm doing something wrong, but I can't get CORS working for the life of me. My functions work when I hit the endpoints using Insomnia, but when trying to hit it from my app, I get a 404 on the options request. Also, when I run sam local start-api, I get a message saying WARNING: Could not find function for [OPTIONS] to /login resource right above a message saying Mounting index.login (nodejs6.10) at http://127.0.0.1:3000/login [POST]
    Below is my template.yaml. I attempted to follow the example here, but still no luck.

    However, if I remove the "options" part of the swagger definition, I don't get the OPTIONS warning.

                options:
                  consumes:
                  - application/json
                  produces:
                  - application/json
                  responses:
                    '200':
                      description: 200 response
                      headers:
                        Access-Control-Allow-Origin:
                          type: string
                        Access-Control-Allow-Methods:
                          type: string
                        Access-Control-Allow-Headers:
                          type: string
                  x-amazon-apigateway-integration:
                    responses:
                      default:
                        statusCode: 200
                        responseParameters:
                          method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
                          method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'"
                          method.response.header.Access-Control-Allow-Origin: "'*'"
                    passthroughBehavior: when_no_match
                    requestTemplates:
                      application/json: "{\"statusCode\": 200}"
                    type: mock
    

    Any help / suggestions would be greatly appreciated

    AWSTemplateFormatVersion: '2010-09-09'
    Transform: 'AWS::Serverless-2016-10-31'
    
    Parameters:
      TableName:
        Default: <TableName>
        Type: String
      FunctionNamePrefix:
        Default: <TableName>
        Type: String
      Secret:
        Default: ""
        Type: String
      AppConfigReadCapacity:
        Default: 5
        Type: Number
      AppConfigWriteCapacity:
        Default: 5
        Type: Number
      AppConfigPrimaryKey:
        Default: id
        Type: String
      Env:
        Default: dev
        Type: String
      S3Bucket:
        Default: <S3Bucket>
        Type: String
    
    Resources:
      EnterpriseApi:
        Type: AWS::Serverless::Api
        Properties:
          StageName: dev
          DefinitionBody:
            swagger: '2.0'
            info:
              title: 'API Gateway Endpoints'
            basePath: '/dev'
            schemes:
              - 'https'
            paths:
              "/login":
                post:
                  x-amazon-apigateway-integration:
                    httpMethod: POST
                    type: aws_proxy
                    uri: "arn:aws:apigateway:${awsRegion}lambda:path/2015-03-31/functions/arn:aws:lambda:${awsRegion}l:${awsAccount}:function:${function}/invocations"
                    responses: {}
                    passthroughBehavior: when_no_match
                options:
                  consumes:
                  - application/json
                  produces:
                  - application/json
                  responses:
                    '200':
                      description: 200 response
                      headers:
                        Access-Control-Allow-Origin:
                          type: string
                        Access-Control-Allow-Methods:
                          type: string
                        Access-Control-Allow-Headers:
                          type: string
                  x-amazon-apigateway-integration:
                    responses:
                      default:
                        statusCode: 200
                        responseParameters:
                          method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
                          method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'"
                          method.response.header.Access-Control-Allow-Origin: "'*'"
                    passthroughBehavior: when_no_match
                    requestTemplates:
                      application/json: "{\"statusCode\": 200}"
                    type: mock
    
      LoginFunction:
        Type: AWS::Serverless::Function
        Properties:
          Handler: index.login
          Runtime: nodejs6.10
          CodeUri: 's3://${s3Bucket}/${s3Folder}/test.zip'
          FunctionName:
            Fn::Join:
              - "-"
              -
                - Ref: FunctionNamePrefix
                - login
          Description: ''
          Timeout: 30
          Environment:
            Variables:
              TABLE_NAME:
                Ref: TableName
              NODE_ENV:
                Ref: Env
              S3_BUCKET: <BucketName>
              SECRET:
                Ref: Secret
              AWS_PROFILE:
                Ref: AwsProfile
              POSTGRES_HOST:
                Ref: PostgresHost
              POSTGRES_DB:
                Ref: PostgresDb
              POSTGRES_USER:
                Ref: PostgresUser
              POSTGRES_PASSWORD:
                Ref: PostgresPassword
              POSTGRES_DB:
                Ref: PostgresDb
              API_Key:
                Ref: ApiKey
          Events:
            LoginResource:
              Type: Api
              Properties:
                Path: /login
                Method: post
                RestApiId:
                  Ref: EnterpriseApi
    
    
    type/feature priority/2-important area/local/start-api stage/waiting-for-release 
    opened by walkerlangley 45
  • ImportError: cannot import name 'soft_unicode' from 'markupsafe' in Release 1.38.0

    ImportError: cannot import name 'soft_unicode' from 'markupsafe' in Release 1.38.0

    I'm building the sam project on github action and since the upgrade of sam-cli to 1.38.0, i'm getting following error when i build project

    Python version: 3.10.2 & 3.8.12 (Tried both versions) Pip version: pip-22.0.3 Sam cli version: 1.38.0

    Command: sam build --template ${SAM_TEMPLATE} --use-container

    Trace:

    Traceback (most recent call last):
      File "/home/runner/work/_temp/setup-sam-43osIE/bin/sam", line 8, in <module>
        sys.exit(cli())
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/core.py", line 8[29](https://github.com/mensabrands/dip-app/runs/5243143255?check_suite_focus=true#step:5:29), in __call__
        return self.main(*args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/core.py", line 782, in main
        rv = self.invoke(ctx)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/core.py", line 610, in invoke
        return callback(*args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/decorators.py", line 73, in new_func
        return ctx.invoke(f, obj, *args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/click/core.py", line 610, in invoke
        return callback(*args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/lib/telemetry/metric.py", line 166, in wrapped
        raise exception  # pylint: disable=raising-bad-type
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/lib/telemetry/metric.py", line 124, in wrapped
        return_value = func(*args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/lib/utils/version_checker.py", line 41, in wrapped
        actual_result = func(*args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/cli/main.py", line 87, in wrapper
        return func(*args, **kwargs)
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/commands/build/command.py", line 174, in cli
        do_cli(
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/commands/build/command.py", line 220, in do_cli
        from samcli.commands.build.build_context import BuildContext
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/commands/build/build_context.py", line 13, in <module>
        from samcli.lib.providers.sam_api_provider import SamApiProvider
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/lib/providers/sam_api_provider.py", line 6, in <module>
        from samcli.lib.providers.api_collector import ApiCollector
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/lib/providers/api_collector.py", line 10, in <module>
        from samcli.local.apigw.local_apigw_service import Route
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/samcli/local/apigw/local_apigw_service.py", line 11, in <module>
        from flask import Flask, request
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/flask/__init__.py", line 14, in <module>
        from jinja2 import escape
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/jinja2/__init__.py", line 12, in <module>
        from .environment import Environment
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/jinja2/environment.py", line 25, in <module>
        from .defaults import BLOCK_END_STRING
      File "/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/jinja2/defaults.py", line 3, in <module>
        from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F[40](https://github.com/mensabrands/dip-app/runs/5243143255?check_suite_focus=true#step:5:40)1
      File "/home/runner/work/_temp/setup-sam-[43](https://github.com/mensabrands/dip-app/runs/5243143255?check_suite_focus=true#step:5:43)osIE/.venv/lib/python3.10/site-packages/jinja2/filters.py", line 13, in <module>
        from markupsafe import soft_unicode
    ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/home/runner/work/_temp/setup-sam-43osIE/.venv/lib/python3.10/site-packages/markupsafe/__init__.py)
    

    I revert sam-cli version to 1.37.0 and it worked perfectly.

    type/bug 
    opened by SamkeetJainMensa 43
  • Testing Api Gateway endpoint locally returning `No response from invoke container` and `Invalid lambda response received` in Dockerised sam app

    Testing Api Gateway endpoint locally returning `No response from invoke container` and `Invalid lambda response received` in Dockerised sam app

    Description:

    I'm dockerising sam app. When accessing api endpoint for HelloWorld locally, it responds with No response from invoke container for HelloWorldFunction and Invalid lambda response received: Lambda response must be valid json.

    It works fine whithout dockerisation.

    Steps to reproduce:

    Dockerfile

    FROM ruby:2.7.0-alpine
    
    RUN apk add --update --no-cache \
        build-base \
        postgresql-dev \
        postgresql-client \
        python3 \
        py3-pip \
        util-linux \
        python3-dev
    
    RUN pip3 install aws-sam-cli
    
    ARG USER
    ARG HOME
    ARG UID
    
    RUN apk add --update \
        sudo
    
    RUN echo "Welcome home: $USER => $UID"
    
    RUN adduser -S -D -G users -u $UID $USER
    RUN addgroup -S sudo
    RUN echo "%sudo ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/sudo 
    RUN adduser $USER sudo
    
    RUN echo "Welcome home: $USER"
    
    WORKDIR ${HOME}
    
    EXPOSE 3001
    
    ENTRYPOINT ["sh", "./entrypoint.sh"]
    

    docker-compose.yml

    version: '3.8'
    services:
      sam_app:
        build:
          context: ./sam-app
          args:
            - HOME
            - USER
            - UID
        user: "${UID}:100"
        command: ["$PWD"]
        ports:
          - "3001:3001"
        volumes:
          - ./sam-app:$HOME
          - /var/run/docker.sock:/var/run/docker.sock
    

    Entrypoint.sh

    BASEDIR="$1"
    
    echo "Basedir => ${BASEDIR}"
    
    sudo sam local start-api \
      --template ./template.yaml \
      --host 0.0.0.0 \
      --port 3001 \
      --docker-volume-basedir "${BASEDIR}/sam-app/" \
      --docker-network drink_default \
      --debug
    

    hello_world/app.rb

    def lambda_handler(event:, context:)
      {
        statusCode: 200,
        body: {
          message: "Hello World!",
          # location: response.body
        }.to_json
      }
    end
    

    Observed result:

    am_app_1  | 2020-12-21 01:31:22,493 | Constructed String representation of Event to invoke Lambda. Event: {"body": null, "headers": {"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "en-GB,en;q=0.9", "Connection": "keep-alive", "Host": "localhost:3001", "Sec-Fetch-Dest": "document", "Sec-Fetch-Mode": "navigate", "Sec-Fetch-Site": "none", "Sec-Fetch-User": "?1", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36", "X-Forwarded-Port": "3001", "X-Forwarded-Proto": "http"}, "httpMethod": "GET", "isBase64Encoded": false, "multiValueHeaders": {"Accept": ["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"], "Accept-Encoding": ["gzip, deflate, br"], "Accept-Language": ["en-GB,en;q=0.9"], "Connection": ["keep-alive"], "Host": ["localhost:3001"], "Sec-Fetch-Dest": ["document"], "Sec-Fetch-Mode": ["navigate"], "Sec-Fetch-Site": ["none"], "Sec-Fetch-User": ["?1"], "Upgrade-Insecure-Requests": ["1"], "User-Agent": ["Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"], "X-Forwarded-Port": ["3001"], "X-Forwarded-Proto": ["http"]}, "multiValueQueryStringParameters": null, "path": "/hello", "pathParameters": null, "queryStringParameters": null, "requestContext": {"accountId": "123456789012", "apiId": "1234567890", "domainName": "localhost:3001", "extendedRequestId": null, "httpMethod": "GET", "identity": {"accountId": null, "apiKey": null, "caller": null, "cognitoAuthenticationProvider": null, "cognitoAuthenticationType": null, "cognitoIdentityPoolId": null, "sourceIp": "172.22.0.1", "user": null, "userAgent": "Custom User Agent String", "userArn": null}, "path": "/hello", "protocol": "HTTP/1.1", "requestId": "dd99d1bb-cc40-42f8-a2f2-eeefcc22d111", "requestTime": "21/Dec/2020:01:30:38 +0000", "requestTimeEpoch": 1608514238, "resourceId": "123456", "resourcePath": "/hello", "stage": "Prod"}, "resource": "/hello", "stageVariables": null, "version": "1.0"}
    sam_app_1  | 2020-12-21 01:31:22,493 | Found one Lambda function with name 'HelloWorldFunction'
    sam_app_1  | 2020-12-21 01:31:22,494 | Invoking app.lambda_handler (ruby2.7)
    sam_app_1  | 2020-12-21 01:31:22,494 | No environment variables found for function 'HelloWorldFunction'
    sam_app_1  | 2020-12-21 01:31:22,494 | Environment variables overrides data is standard format
    sam_app_1  | 2020-12-21 01:31:22,494 | Loading AWS credentials from session with profile 'None'
    sam_app_1  | 2020-12-21 01:31:24,549 | Resolving code path. Cwd=/home/sameer/projects/drink/sam-app/, CodeUri=hello_world/
    sam_app_1  | 2020-12-21 01:31:24,549 | Resolved absolute path to code is /home/sameer/projects/drink/sam-app/hello_world
    sam_app_1  | 2020-12-21 01:31:24,550 | Code /home/sameer/projects/drink/sam-app/hello_world is not a zip/jar file
    sam_app_1  | 2020-12-21 01:31:24,574 | Skip pulling image and use local one: amazon/aws-sam-cli-emulation-image-ruby2.7:rapid-1.15.0.
    sam_app_1  | 
    sam_app_1  | 2020-12-21 01:31:24,574 | Mounting /home/sameer/projects/drink/sam-app/hello_world as /var/task:ro,delegated inside runtime container
    sam_app_1  | 2020-12-21 01:31:25,386 | Starting a timer for 3 seconds for function 'HelloWorldFunction'
    sam_app_1  | 2020-12-21 01:31:26,707 | Cleaning all decompressed code dirs
    sam_app_1  | 2020-12-21 01:31:26,707 | No response from invoke container for HelloWorldFunction
    sam_app_1  | 2020-12-21 01:31:26,707 | Invalid lambda response received: Lambda response must be valid json
    sam_app_1  | 2020-12-21 01:31:26 172.22.0.1 - - [21/Dec/2020 01:31:26] "GET /hello HTTP/1.1" 502 -
    sam_app_1  | 2020-12-21 01:31:26 172.22.0.1 - - [21/Dec/2020 01:31:26] "GET /favicon.ico HTTP/1.1" 403 -
    

    Expected result:

    Json output on browser {message: "hello world"}

    Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

    1. OS: ubuntu VERSION="20.04.1 LTS (Focal Fossa)"
    2. sam --version: 1.15.0
    3. Homebrew: VERSION="2.6.2"
    4. docker: VERSION="19.03.8"

    Add --debug flag to command you are running

    stage/pm-review 
    opened by alliesground 41
  • Support running HttpApi locally

    Support running HttpApi locally

    Issue #, if available: #1641

    Why is this change necessary? This changes is necessary in order to make HttpApi event type work with sam local start-api.

    How does it address the issue?

    1. Currently sam doesn't support HttpApi because it only extract resource with type AWS::Serverless::Function and AWS::Serverless::Api, this changes add AWS::Serverless::HttpApi to be extracted from the template.yaml
    2. Construct event v2.json from flask request

    What side effects does this change have?

    Did you change a dependency in requirements/base.txt? If so, did you run make update-reproducible-reqs No

    Checklist:

    • [ ] Write Design Document (Do I need to write a design document?)
    • [x] Write unit tests
    • [x] Write/update functional tests
    • [x] Write/update integration tests
    • [x] make pr passes
    • [x] Write documentation

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

    opened by pyk 41
  • invalid volume specification

    invalid volume specification

    Im facing the invalid volume specification error when trying to run the sample HelloWorld using sam local . I am running Docker Toolbox on Windows8.1 Pro. Sam Version 0.3.0. Docker version 18.03.0-ce, build 0520e24302

    Output : (with out --docker-volume-basedir)

    C:\Python27\Lib\site-packages\samcli\local\init\templates\cookiecutter-aws-sam-hello-java{{cookiecutter.project_name}}>sam local start-api 2018-06-06 16:11:24 Mounting HelloWorldFunction at http://127.0.0.1:3000/hello [GET] 2018-06-06 16:11:24 You can now browse to the above endpoints to invoke your functions. You do not need to restart/reload SAM CLI while working on your functions changes will be reflected instantly/automatically. You only need to restart SAM CLI if you update your AWS SAM template

    2018-06-06 16:11:24 * Running on http://127.0.0.1:3000/ (Press CTRL+C to quit) 2018-06-06 16:11:30 Invoking helloworld.App::handleRequest (java8) 2018-06-06 16:11:30 Found credentials in shared credentials file: ~/.aws/credentials 2018-06-06 16:11:30 Decompressing C:\Python27\Lib\site-packages\samcli\local\init\templates\cookiecutter-aws-sam-hello-java{{cookiecutter.project_name}}\target\HelloWorld-1.0.jar

    Fetching lambci/lambda:java8 Docker container image...... 2018-06-06 16:11:34 Mounting c:\users\lenovo2\appdata\local\temp\tmp2vg4ry as /var/task:ro inside runtime container [2018-06-06 16:11:34,845] ERROR in app: Exception on /hello [GET] Traceback (most recent call last): File "c:\python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "c:\python27\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "c:\python27\lib\site-packages\flask\app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "c:\python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "c:\python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request return self.view_functionsrule.endpoint File "c:\python27\lib\site-packages\samcli\local\apigw\service.py", line 161, in _request_handler self.lambda_runner.invoke(route.function_name, event, stdout=stdout_stream, stderr=self.stderr) File "c:\python27\lib\site-packages\samcli\commands\local\lib\local_lambda.py", line 80, in invoke stdout=stdout, stderr=stderr) File "c:\python27\lib\site-packages\samcli\local\lambdafn\runtime.py", line 83, in invoke self._container_manager.run(container) File "c:\python27\lib\site-packages\samcli\local\docker\manager.py", line 61, in run container.create() File "c:\python27\lib\site-packages\samcli\local\docker\container.py", line 110, in create real_container = self.docker_client.containers.create(self._image, **kwargs) File "c:\python27\lib\site-packages\docker\models\containers.py", line 824, in create resp = self.client.api.create_container(**create_kwargs) File "c:\python27\lib\site-packages\docker\api\container.py", line 410, in create_container return self.create_container_from_config(config, name) File "c:\python27\lib\site-packages\docker\api\container.py", line 421, in create_container_from_config return self._result(res, True) File "c:\python27\lib\site-packages\docker\api\client.py", line 231, in _result self._raise_for_status(response) File "c:\python27\lib\site-packages\docker\api\client.py", line 227, in _raise_for_status raise create_api_error_from_http_exception(e) File "c:\python27\lib\site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception raise cls(e, response=response, explanation=explanation) APIError: 500 Server Error: Internal Server Error ("invalid volume specification: 'c:\users\lenovo2\appdata\local\temp\tmp2vg4ry:/var/task:ro'") 2018-06-06 16:11:34 127.0.0.1 - - [06/Jun/2018 16:11:34] "GET /hello HTTP/1.1" 502 - 2018-06-06 16:11:35 127.0.0.1 - - [06/Jun/2018 16:11:35] "GET /favicon.ico HTTP/1.1" 403 -

    Output : (with --docker-volume-basedir) C:\Python27\Lib\site-packages\samcli\local\init\templates\cookiecutter-aws-sam-hello-java{{cookiecutter.project_name}}>sam local start-api --docker-volume-basedir \c\Users 2018-06-06 16:15:10 Mounting HelloWorldFunction at http://127.0.0.1:3000/hello [GET] 2018-06-06 16:15:10 You can now browse to the above endpoints to invoke your functions. You do not need to restart/reload SAM CLI while working on your functions changes will be reflected instantly/automatically. You only need to restart SAM CLI if you update your AWS SAM template 2018-06-06 16:15:10 * Running on http://127.0.0.1:3000/ (Press CTRL+C to quit) 2018-06-06 16:15:14 Invoking helloworld.App::handleRequest (java8) 2018-06-06 16:15:14 Found credentials in shared credentials file: ~/.aws/credentials

    Fetching lambci/lambda:java8 Docker container image...... 2018-06-06 16:15:17 Mounting C:\c\Users\target\HelloWorld-1.0.jar as /var/task:ro inside runtime container [2018-06-06 16:15:18,585] ERROR in app: Exception on /hello [GET] Traceback (most recent call last): File "c:\python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "c:\python27\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "c:\python27\lib\site-packages\flask\app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "c:\python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "c:\python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request return self.view_functionsrule.endpoint File "c:\python27\lib\site-packages\samcli\local\apigw\service.py", line 161, in _request_handler self.lambda_runner.invoke(route.function_name, event, stdout=stdout_stream, stderr=self.stderr) File "c:\python27\lib\site-packages\samcli\commands\local\lib\local_lambda.py", line 80, in invoke stdout=stdout, stderr=stderr) File "c:\python27\lib\site-packages\samcli\local\lambdafn\runtime.py", line 83, in invoke self._container_manager.run(container) File "c:\python27\lib\site-packages\samcli\local\docker\manager.py", line 61, in run container.create() File "c:\python27\lib\site-packages\samcli\local\docker\container.py", line 110, in create real_container = self.docker_client.containers.create(self._image, **kwargs) File "c:\python27\lib\site-packages\docker\models\containers.py", line 824, in create resp = self.client.api.create_container(**create_kwargs) File "c:\python27\lib\site-packages\docker\api\container.py", line 410, in create_container return self.create_container_from_config(config, name) File "c:\python27\lib\site-packages\docker\api\container.py", line 421, in create_container_from_config return self._result(res, True) File "c:\python27\lib\site-packages\docker\api\client.py", line 231, in _result self._raise_for_status(response) File "c:\python27\lib\site-packages\docker\api\client.py", line 227, in _raise_for_status raise create_api_error_from_http_exception(e) File "c:\python27\lib\site-packages\docker\errors.py", line 31, in create_api_error_from_http_exception raise cls(e, response=response, explanation=explanation) APIError: 500 Server Error: Internal Server Error ("invalid volume specification: 'C:\c\Users\target\HelloWorld-1.0.jar:/var/task:ro'") 2018-06-06 16:15:18 127.0.0.1 - - [06/Jun/2018 16:15:18] "GET /hello HTTP/1.1" 502 - 2018-06-06 16:15:18 127.0.0.1 - - [06/Jun/2018 16:15:18] "GET /favicon.ico HTTP/1.1" 403 -

    area/docker type/bug platform/windows priority/1-critical stage/waiting-for-release 
    opened by uvaisTrivecta 40
  • Bug: TITLE Error while executing command: sam build --use-container --template ${SAM_TEMPLATE}

    Bug: TITLE Error while executing command: sam build --use-container --template ${SAM_TEMPLATE}

    Description:

    I was trying to run sam build --use-container --template ${SAM_TEMPLATE} but it failed and showed Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sam build --use-container --template ${SAM_TEMPLATE}. Reason: exit status 1

    Observed result:

    [Container] 2023/01/02 09:00:13 Phase complete: INSTALL State: SUCCEEDED

    247 | [Container] 2023/01/02 09:00:13 Phase context status code: Message: 248 | [Container] 2023/01/02 09:00:13 Entering phase PRE_BUILD 249 | [Container] 2023/01/02 09:00:13 Phase complete: PRE_BUILD State: SUCCEEDED 250 | [Container] 2023/01/02 09:00:13 Phase context status code: Message: 251 | [Container] 2023/01/02 09:00:13 Entering phase BUILD 252 | [Container] 2023/01/02 09:00:13 Running command sam build --use-container --template ${SAM_TEMPLATE} 253 | Traceback (most recent call last): 254 | File "/root/.pyenv/versions/3.8.13/bin/sam", line 8, in 255 | sys.exit(cli()) 256 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/click/core.py", line 1130, in call 257 | return self.main(*args, *kwargs) 258 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/click/core.py", line 1055, in main 259 | rv = self.invoke(ctx) 260 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/click/core.py", line 1651, in invoke 261 | cmd_name, cmd, args = self.resolve_command(ctx, args) 262 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/click/core.py", line 1698, in resolve_command 263 | cmd = self.get_command(ctx, cmd_name) 264 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/samcli/cli/command.py", line 133, in get_command 265 | mod = importlib.import_module(pkg_name) 266 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/importlib/init.py", line 127, in import_module 267 | return _bootstrap._gcd_import(name[level:], package, level) 268 | File "", line 1014, in _gcd_import 269 | File "", line 991, in _find_and_load 270 | File "", line 975, in _find_and_load_unlocked 271 | File "", line 671, in _load_unlocked 272 | File "", line 843, in exec_module 273 | File "", line 219, in _call_with_frames_removed 274 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/samcli/commands/build/init.py", line 6, in 275 | from .command import cli # noqa 276 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/samcli/commands/build/command.py", line 12, in 277 | from samcli.commands._utils.options import ( 278 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/samcli/commands/_utils/options.py", line 21, in 279 | from samcli.commands._utils.template import get_template_data, TemplateNotFoundException 280 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/samcli/commands/_utils/template.py", line 10, in 281 | from botocore.utils import set_value_from_jmespath 282 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/botocore/utils.py", line 37, in 283 | import botocore.httpsession 284 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/botocore/httpsession.py", line 46, in 285 | from urllib3.contrib.pyopenssl import ( 286 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py", line 50, in 287 | import OpenSSL.SSL 288 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/OpenSSL/init.py", line 8, in 289 | from OpenSSL import crypto, SSL 290 | File "/root/.pyenv/versions/3.8.13/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3268, in 291 | _lib.OpenSSL_add_all_algorithms() 292 | AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' 293 |   294 | [Container] 2023/01/02 09:00:14 Command did not exit successfully sam build --use-container --template ${SAM_TEMPLATE} exit status 1 295 | [Container] 2023/01/02 09:00:14 Phase complete: BUILD State: FAILED 296 | [Container] 2023/01/02 09:00:14 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: sam build --use-container --template ${SAM_TEMPLATE}. Reason: exit status 1 297 | [Container] 2023/01/02 09:00:14 Entering phase POST_BUILD 298 | [Container] 2023/01/02 09:00:14 Phase complete: POST_BUILD State: SUCCEEDED 299 | [Container] 2023/01/02 09:00:14 Phase context status code: Message: 300 | [Container] 2023/01/02 09:00:14 exiting execCommands 301 | [Container] 2023/01/02 09:00:14 Expanding base directory path: . 302 | [Container] 2023/01/02 09:00:14 Assembling file list 303 | [Container] 2023/01/02 09:00:14 Expanding . 304 | [Container] 2023/01/02 09:00:14 Expanding file paths for base directory . 305 | [Container] 2023/01/02 09:00:14 Assembling file list 306 | [Container] 2023/01/02 09:00:14 Expanding packaged-test.yaml 307 | [Container] 2023/01/02 09:00:14 Skipping invalid file path packaged-test.yaml 308 | [Container] 2023/01/02 09:00:14 Expanding assume-role.sh 309 | [Container] 2023/01/02 09:00:14 Expanding pipeline/ 310 | [Container] 2023/01/02 09:00:14 Found 8 file(s) 311 | [Container] 2023/01/02 09:00:14 Phase complete: UPLOAD_ARTIFACTS State: SUCCEEDED 312 | [Container] 2023/01/02 09:00:14 Phase context status code: Message:

    Expected result:

    Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

    1. OS:
    2. sam --version
    type/bug stage/needs-triage 
    opened by sshiv5768 0
  • update pyopenssl dep to fix #4527

    update pyopenssl dep to fix #4527

    Which issue(s) does this change fix?

    #4527

    Why is this change necessary?

    Exceptions :)

    How does it address the issue?

    Updates deps to remove the issue.

    What side effects does this change have?

    Mandatory Checklist

    PRs will only be reviewed after checklist is complete

    • [x] Add input/output type hints to new functions/methods
    • [x] Write design document if needed (Do I need to write a design document?)
    • [x] Write/update unit tests
    • [x] Write/update integration tests
    • [x] Write/update functional tests if needed
    • [x] make pr passes
    • [x] make update-reproducible-reqs if dependencies were changed
    • [x] Write documentation

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

    NOTE: I ran make update-reproducible-reqs but in the process discovered that it appears to be only updating a minimal set. If you erase that file and recreate then a huge number of deps get different versions. This may be expected behavior (I don't normally use pip-compile), but it seems quite surprising.

    pr/external stage/needs-triage 
    opened by reaperhulk 0
  • Bug: Error on sam build command

    Bug: Error on sam build command

    Description:

    I can not build projects after upgrading sam cli from 1.65.0 to 1.67.0 After facing the issue for a couple of times I thought it might fix if I remove python3.8 manually and reinstall aws-sam-cli. But it did not solve it. I confirmed that python3.8 was reinstall with aws-sam-cli

    Steps to reproduce:

    1. run brew upgrade aws-sam-cli
    2. try to build any sam project

    I encountered the following error after doing that.

    Observed result:

    sam build --debug

      File "/opt/homebrew/bin/sam", line 8, in <module>
        sys.exit(cli())
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
        return self.main(*args, **kwargs)
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/click/core.py", line 1055, in main
        rv = self.invoke(ctx)
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/click/core.py", line 1651, in invoke
        cmd_name, cmd, args = self.resolve_command(ctx, args)
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/click/core.py", line 1698, in resolve_command
        cmd = self.get_command(ctx, cmd_name)
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/samcli/cli/command.py", line 133, in get_command
        mod = importlib.import_module(pkg_name)
      File "/opt/homebrew/Cellar/[email protected]/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
      File "<frozen importlib._bootstrap>", line 991, in _find_and_load
      File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 843, in exec_module
      File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/samcli/commands/build/__init__.py", line 6, in <module>
        from .command import cli  # noqa
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/samcli/commands/build/command.py", line 12, in <module>
        from samcli.commands._utils.options import (
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/samcli/commands/_utils/options.py", line 21, in <module>
        from samcli.commands._utils.template import get_template_data, TemplateNotFoundException
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/samcli/commands/_utils/template.py", line 10, in <module>
        from botocore.utils import set_value_from_jmespath
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/botocore/utils.py", line 37, in <module>
        import botocore.httpsession
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/botocore/httpsession.py", line 46, in <module>
        from urllib3.contrib.pyopenssl import (
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/urllib3/contrib/pyopenssl.py", line 50, in <module>
        import OpenSSL.crypto
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/OpenSSL/__init__.py", line 8, in <module>
        from OpenSSL import crypto, SSL
      File "/opt/homebrew/Cellar/aws-sam-cli/1.67.0/libexec/lib/python3.8/site-packages/OpenSSL/crypto.py", line 3268, in <module>
        _lib.OpenSSL_add_all_algorithms()
    AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
    

    Expected result:

    Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

    1. OS: MacOS 12.4 (Monterey)
    2. sam --version: SAM CLI, version 1.67.0
    3. AWS region: us-east-2

    Add --debug flag to command you are running

    type/bug stage/needs-triage 
    opened by getanwar 6
  • Error: Failed to parse template: unacceptable character #x0000: special characters are not allowed   in ", position 0 ">

    Error: Failed to parse template: unacceptable character #x0000: special characters are not allowed in "", position 0

    Description:

    I tried to run my sam python docker image locally but I am getting the above error. I tried check my yaml file for any whitespace or syntax error but found nothing. I also tried changing the yaml file encoding and still getting the same error. What is strange is even if i delete the yaml file i am getting the sam error. I dont know if the issue is coming from the yaml file or not

    Steps to reproduce:

    $ sam init with the following choices: Template: 1 - AWS Quick Start Templates Quick Start template: 1 - Hello World Example Runtime: 12 - python3.9 Package type: 1 - Image Template 2 - Hello World Example X-Ray tracing, CloudWatch: no sam build sam local start-api

    Observed result:

    Screenshot 2023-01-01 123728

    Additional environment details

    1. OS: Windows 10
    2. sam --version: SAM CLI, version 1.67.0
    3. AWS region: us-east 1

    This is my template.yaml file

    AWSTemplateFormatVersion: "2010-09-09"
    Transform: AWS::Serverless-2016-10-31
    Description: >
      python3.9
    
      Sample SAM Template for summarization-v2-lambda
    
    # More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
    Globals:
      Function:
        Timeout: 30
        MemorySize: 3008
    
    Resources:
      HelloWorldFunction:
        Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
        Properties:
          PackageType: Image
          Architectures:
            - x86_64
          Events:
            Root:
              Type: Api
              Properties:
                Path: /
                Method: get
            SummarizeAI:
              Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
              Properties:
                Path: /summarize_t5
                Method: post
            SummarizeArticle:
              Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
              Properties:
                Path: /summarize_article
                Method: post
            SummarizeTextRank:
              Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
              Properties:
                Path: /summarize_textrank
                Method: post
            SummarizeParagraphs:
              Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
              Properties:
                Path: /summarize_paragraphs
                Method: post
        Metadata:
          Dockerfile: Dockerfile
          DockerContext: ./app
          DockerTag: python3.9-v1
    
    Outputs:
      # ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
      # Find out more about other implicit resources you can reference within SAM
      # https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api
      RootApi:
        Description: "API Gateway endpoint URL for Prod stage for Root route"
        Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/"
      SummarizeAIApi:
        Description: "API Gateway endpoint URL for Prod stage for Hello World function"
        Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/summarize_t5/"
      SummarizeArticleApi:
        Description: "API Gateway endpoint URL for Prod stage for Hello World function"
        Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/summarize_article/"
      SummarizeTextRankApi:
        Description: "API Gateway endpoint URL for Prod stage for Hello World function"
        Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/summarize_textrank/"
      SummarizeParagraphsApi:
        Description: "API Gateway endpoint URL for Prod stage for Hello World function"
        Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod//summarize_paragraphs/"
      HelloWorldFunction:
        Description: "Hello World Lambda Function ARN"
        Value: !GetAtt HelloWorldFunction.Arn
      HelloWorldFunctionIamRole:
        Description: "Implicit IAM Role created for Hello World function"
        Value: !GetAtt HelloWorldFunctionRole.Arn
    
    
    type/bug stage/needs-triage 
    opened by hamdan-hassan 0
  • Update `sam --info` to display enriched info

    Update `sam --info` to display enriched info

    Which issue(s) does this change fix?

    N/A

    Why is this change necessary?

    To enrich sam --info to display system info. This makes it more straightforward for customers to provide diagnostic info when reporting bugs.

    How does it address the issue?

    In addition to version, sam --info now shows more info, e.g.:

    {
      "version": "1.67.0",
      "system": {
        "python": "3.9.12",
        "os": "macOS-12.6.1-x86_64-i386-64bit"
      },
      "additional_dependencies": {
        "docker_engine": "20.10.12",
        "aws_cdk": "2.58.0 (build 4a577f3)",
        "terraform": "1.3.6"
      }
    }
    

    What side effects does this change have?

    No

    Mandatory Checklist

    PRs will only be reviewed after checklist is complete

    • [x] Add input/output type hints to new functions/methods
    • [ ] Write design document if needed (Do I need to write a design document?)
    • [x] Write/update unit tests
    • [ ] Write/update integration tests
    • [ ] Write/update functional tests if needed
    • [x] make pr passes
    • [ ] make update-reproducible-reqs if dependencies were changed
    • [ ] Write documentation

    By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

    pr/internal 
    opened by hawflau 0
  • Bug: sam build fails on unmodified Hello World Typescript example

    Bug: sam build fails on unmodified Hello World Typescript example

    Description:

    sam build fails on unmodified example

    Steps to reproduce:

    $ sam init with the following choices: Template: 1 - AWS Quick Start Templates Quick Start template: 1 - Hello World Example Runtime: 12 - nodejs18.x Package type: 1 - Zip Template 2 - Hello World Example TypeScript X-Ray tracing, CloudWatch: no

    $ cd sam-app
    $ sam build
    

    Note: npm install; npm run test succeeds without error

    Observed result:

    $ sam build --debug
    2022-12-29 15:52:47,119 | Config file location: /tmp/sam-app/samconfig.toml
    2022-12-29 15:52:47,120 | Config file '/tmp/sam-app/samconfig.toml' does not exist
    2022-12-29 15:52:47,125 | Using SAM Template at /tmp/sam-app/template.yaml
    2022-12-29 15:52:47,174 | Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
    2022-12-29 15:52:47,175 | Using config file: samconfig.toml, config environment: default
    2022-12-29 15:52:47,175 | Expand command line arguments to:
    2022-12-29 15:52:47,175 | --template_file=/tmp/sam-app/template.yaml --build_dir=.aws-sam/build --cache_dir=.aws-sam/cache 
    2022-12-29 15:52:47,319 | 'build' command is called
    2022-12-29 15:52:47,325 | No Parameters detected in the template
    2022-12-29 15:52:47,338 | There is no customer defined id or cdk path defined for resource HelloWorldFunction, so we will use the resource logical id as the resource id
    2022-12-29 15:52:47,338 | There is no customer defined id or cdk path defined for resource ServerlessRestApi, so we will use the resource logical id as the resource id
    2022-12-29 15:52:47,339 | 0 stacks found in the template
    2022-12-29 15:52:47,339 | No Parameters detected in the template
    2022-12-29 15:52:47,352 | There is no customer defined id or cdk path defined for resource HelloWorldFunction, so we will use the resource logical id as the resource id
    2022-12-29 15:52:47,352 | There is no customer defined id or cdk path defined for resource ServerlessRestApi, so we will use the resource logical id as the resource id
    2022-12-29 15:52:47,353 | 2 resources found in the stack 
    2022-12-29 15:52:47,353 | Found Serverless function with name='HelloWorldFunction' and CodeUri='hello-world/'
    2022-12-29 15:52:47,353 | --base-dir is not presented, adjusting uri hello-world/ relative to /tmp/sam-app/template.yaml
    2022-12-29 15:52:47,359 | 2 resources found in the stack 
    2022-12-29 15:52:47,359 | Found Serverless function with name='HelloWorldFunction' and CodeUri='hello-world/'
    2022-12-29 15:52:47,359 | Found Serverless function with name='HelloWorldFunction' and CodeUri='hello-world/'
    2022-12-29 15:52:47,359 | --base-dir is not presented, adjusting uri hello-world/ relative to /tmp/sam-app/template.yaml
    2022-12-29 15:52:47,360 | Instantiating build definitions
    2022-12-29 15:52:47,360 | No previous build graph found, generating new one
    2022-12-29 15:52:47,360 | Unique function build definition found, adding as new (Function Build Definition: BuildDefinition(nodejs18.x, /tmp/sam-app/hello-world, Zip, , 1cf07abd-4df9-47d3-a970-711f7864556a, {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': True, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['app.ts']}}, {}, x86_64, []), Function: Function(function_id='HelloWorldFunction', name='HelloWorldFunction', functionname='HelloWorldFunction', runtime='nodejs18.x', memory=None, timeout=3, handler='app.lambdaHandler', imageuri=None, packagetype='Zip', imageconfig=None, codeuri='/tmp/sam-app/hello-world', environment=None, rolearn=None, layers=[], events={'HelloWorld': {'Type': 'Api', 'Properties': {'Path': '/hello', 'Method': 'get', 'RestApiId': 'ServerlessRestApi'}}}, metadata={'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': True, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['app.ts']}, 'SamResourceId': 'HelloWorldFunction'}, inlinecode=None, codesign_config_arn=None, architectures=['x86_64'], function_url_config=None, stack_path=''))
    2022-12-29 15:52:47,361 | Building codeuri: /tmp/sam-app/hello-world runtime: nodejs18.x metadata: {'BuildMethod': 'esbuild', 'BuildProperties': {'Minify': True, 'Target': 'es2020', 'Sourcemap': True, 'EntryPoints': ['app.ts']}} architecture: x86_64 functions: HelloWorldFunction
    2022-12-29 15:52:47,361 | Building to following folder /tmp/sam-app/.aws-sam/build/HelloWorldFunction
    2022-12-29 15:52:47,362 | Loading workflow module 'aws_lambda_builders.workflows'
    2022-12-29 15:52:47,364 | Registering workflow 'PythonPipBuilder' with capability 'Capability(language='python', dependency_manager='pip', application_framework=None)'
    2022-12-29 15:52:47,364 | Registering workflow 'NodejsNpmBuilder' with capability 'Capability(language='nodejs', dependency_manager='npm', application_framework=None)'
    2022-12-29 15:52:47,365 | Registering workflow 'RubyBundlerBuilder' with capability 'Capability(language='ruby', dependency_manager='bundler', application_framework=None)'
    2022-12-29 15:52:47,366 | Registering workflow 'GoModulesBuilder' with capability 'Capability(language='go', dependency_manager='modules', application_framework=None)'
    2022-12-29 15:52:47,367 | Registering workflow 'JavaGradleWorkflow' with capability 'Capability(language='java', dependency_manager='gradle', application_framework=None)'
    2022-12-29 15:52:47,368 | Registering workflow 'JavaMavenWorkflow' with capability 'Capability(language='java', dependency_manager='maven', application_framework=None)'
    2022-12-29 15:52:47,369 | Registering workflow 'DotnetCliPackageBuilder' with capability 'Capability(language='dotnet', dependency_manager='cli-package', application_framework=None)'
    2022-12-29 15:52:47,370 | Registering workflow 'CustomMakeBuilder' with capability 'Capability(language='provided', dependency_manager=None, application_framework=None)'
    2022-12-29 15:52:47,371 | Registering workflow 'NodejsNpmEsbuildBuilder' with capability 'Capability(language='nodejs', dependency_manager='npm-esbuild', application_framework=None)'
    2022-12-29 15:52:47,371 | Found workflow 'NodejsNpmEsbuildBuilder' to support capabilities 'Capability(language='nodejs', dependency_manager='npm-esbuild', application_framework=None)'
    2022-12-29 15:52:47,372 | executing NPM: ['npm', 'bin']
    2022-12-29 15:52:47,698 | Telemetry endpoint configured to be https://aws-serverless-tools-telemetry.us-west-2.amazonaws.com/metrics
    2022-12-29 15:52:47,699 | Unable to find Click Context for getting session_id.
    2022-12-29 15:52:47,699 | Sending Telemetry: {'metrics': [{'commandRun': {'requestId': 'dfd84683-08ab-4079-8242-6cc50f9d5044', 'installationId': 'd0401db6-4ad8-461c-aeb4-07cce42e8d89', 'sessionId': 'f8cbf88d-6bbf-4f58-a3bd-2b258a7fe252', 'executionEnvironment': 'CLI', 'ci': False, 'pyversion': '3.7.10', 'samcliVersion': '1.67.0', 'awsProfileProvided': False, 'debugFlagProvided': True, 'region': '', 'commandName': 'sam build', 'metricSpecificAttributes': {'projectType': 'CFN', 'gitOrigin': None, 'projectName': '593ab2ca51e925b9f6c2f258bc55ed5926cf6d2c78239a685d65907e4ec7edd3', 'initialCommit': None}, 'duration': 523, 'exitReason': 'NpmExecutionError', 'exitCode': 255}}]}
    2022-12-29 15:52:47,700 | Sending Telemetry: {'metrics': [{'events': {'requestId': 'b159d1fd-f009-4e56-bb4a-724ba258ac90', 'installationId': 'd0401db6-4ad8-461c-aeb4-07cce42e8d89', 'sessionId': 'f8cbf88d-6bbf-4f58-a3bd-2b258a7fe252', 'executionEnvironment': 'CLI', 'ci': False, 'pyversion': '3.7.10', 'samcliVersion': '1.67.0', 'metricSpecificAttributes': {'events': [{'event_name': 'BuildWorkflowUsed', 'event_value': 'nodejs-npm-esbuild', 'thread_id': 139922124578816, 'time_stamp': '2022-12-29 20:52:47.361'}]}}}]}
    2022-12-29 15:52:48,485 | HTTPSConnectionPool(host='aws-serverless-tools-telemetry.us-west-2.amazonaws.com', port=443): Read timed out. (read timeout=0.1)
    Traceback (most recent call last):
      File "samcli/__main__.py", line 12, in <module>
    2022-12-29 15:52:48,486 | HTTPSConnectionPool(host='aws-serverless-tools-telemetry.us-west-2.amazonaws.com', port=443): Read timed out. (read timeout=0.1)
      File "click/core.py", line 1130, in __call__
      File "click/core.py", line 1055, in main
      File "click/core.py", line 1657, in invoke
      File "click/core.py", line 1404, in invoke
      File "click/core.py", line 760, in invoke
      File "click/decorators.py", line 84, in new_func
      File "click/core.py", line 760, in invoke
      File "samcli/lib/telemetry/metric.py", line 194, in wrapped
      File "samcli/lib/telemetry/metric.py", line 140, in wrapped
      File "samcli/lib/utils/version_checker.py", line 41, in wrapped
      File "samcli/cli/main.py", line 86, in wrapper
      File "samcli/commands/build/command.py", line 206, in cli
      File "samcli/commands/build/command.py", line 276, in do_cli
      File "samcli/commands/build/build_context.py", line 256, in run
      File "samcli/lib/build/app_builder.py", line 210, in build
      File "samcli/lib/build/build_strategy.py", line 80, in build
      File "samcli/lib/build/build_strategy.py", line 90, in _build_functions
      File "samcli/lib/build/build_strategy.py", line 174, in build_single_function_definition
      File "samcli/lib/build/app_builder.py", line 705, in _build_function
      File "samcli/lib/build/app_builder.py", line 859, in _build_function_in_process
      File "aws_lambda_builders/builder.py", line 161, in build
      File "aws_lambda_builders/workflows/nodejs_npm_esbuild/workflow.py", line 56, in __init__
      File "aws_lambda_builders/workflows/nodejs_npm_esbuild/workflow.py", line 218, in _get_esbuild_subprocess
      File "aws_lambda_builders/workflows/nodejs_npm/npm.py", line 85, in run
    aws_lambda_builders.workflows.nodejs_npm.npm.NpmExecutionError: NPM Failed: 
    [444677] Failed to execute script '__main__' due to unhandled exception!
    
    

    Expected result:

    I would expect "Build Succeeded" much like what happens when I use the Javascript Hello World Example like so:

    Building codeuri: /tmp/sam-app-js/hello-world runtime: nodejs18.x metadata: {} architecture: x86_64 functions: HelloWorldFunction
    Running NodejsNpmBuilder:NpmPack
    Running NodejsNpmBuilder:CopyNpmrcAndLockfile
    Running NodejsNpmBuilder:CopySource
    Running NodejsNpmBuilder:NpmInstall
    Running NodejsNpmBuilder:CleanUpNpmrc
    Running NodejsNpmBuilder:LockfileCleanUp
    
    Build Succeeded
    
    Built Artifacts  : .aws-sam/build
    Built Template   : .aws-sam/build/template.yaml
    

    Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

    $ cat /etc/issue
    Ubuntu 22.04.1 LTS
    
    $ aws --version
    aws-cli/2.9.11 Python/3.9.11 Linux/5.15.0-56-generic exe/x86_64.ubuntu.22 prompt/off
    
    $ sam --version
    SAM CLI, version 1.67.0
    
    region = us-east-1
    
    $ node --version
    v18.12.1
    
    $ npm --version
    9.1.3
    
    stage/needs-investigation maintainer/need-followup 
    opened by pwellner 3
Releases(v1.67.0)
  • v1.67.0(Dec 19, 2022)

    Changes:

    • fix: implicit api warnings by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4452
    • Added Next Command Suggestions by @Harleenijjar in https://github.com/aws/aws-sam-cli/pull/4441
    • Add error messages to conflict options by @xazhao in https://github.com/aws/aws-sam-cli/pull/4350
    • Add type-stubs and remove redundant ignores by @Avasam in https://github.com/aws/aws-sam-cli/pull/4297
    • chore: Terraform prepare hook refactor by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4454
    • chore(deps): bump cryptography from 38.0.1 to 38.0.3 in /requirements by @dependabot in https://github.com/aws/aws-sam-cli/pull/4464
    • chore(deps): bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /samcli/lib/init/templates/cookiecutter-aws-sam-hello-dotnet/{{cookiecutter.project_name}}/src/HelloWorld by @dependabot in https://github.com/aws/aws-sam-cli/pull/4466
    • chore: Allow closed issue message Action to write on Issues by @jfuss in https://github.com/aws/aws-sam-cli/pull/4465
    • feat: run make pr on ubuntu-latest by @hoffa in https://github.com/aws/aws-sam-cli/pull/4456
    • chore: Add retry for sam sync race condition tests by @qingchm in https://github.com/aws/aws-sam-cli/pull/4459
    • chore: Update Closed Stale Issues Github Action by @jfuss in https://github.com/aws/aws-sam-cli/pull/4469
    • chore: Move Close Stale issues to manual workflow for testing by @jfuss in https://github.com/aws/aws-sam-cli/pull/4471
    • fix: change permissions on package universally by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4462
    • chore(deps): bump certifi from 2020.12.5 to 2022.12.7 in /requirements by @dependabot in https://github.com/aws/aws-sam-cli/pull/4468
    • chore: Update third party license information on certifi version update by @qingchm in https://github.com/aws/aws-sam-cli/pull/4477
    • Adding cfn-lint as optional parameter for SAM validate command by @cdavidxu-hub in https://github.com/aws/aws-sam-cli/pull/4444
    • fix: Fix validate command integration tests console output missmatch and update pyyaml version requirement by @qingchm in https://github.com/aws/aws-sam-cli/pull/4479
    • fix: use resource type instead of resource id for deciding zip method by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4485
    • fix: pyinstaller binaries by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4486
    • feat: app insights monitoring integration for sam init by @vsukameti in https://github.com/aws/aws-sam-cli/pull/4369
    • Update lint help and output message by @cdavidxu-hub in https://github.com/aws/aws-sam-cli/pull/4489
    • fix: Update expected message read for ADL sync code watch integration test by @qingchm in https://github.com/aws/aws-sam-cli/pull/4488
    • fix: hooks data imports for pyinstaller by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4491
    • chore: remove redundant debug parameter for sync integration tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4493
    • revert: remove cfn-lint integration by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4494
    • chore: bump version to 1.67.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4497

    New Contributors

    • @Harleenijjar made their first contribution in https://github.com/aws/aws-sam-cli/pull/4441
    • @Avasam made their first contribution in https://github.com/aws/aws-sam-cli/pull/4297
    • @cdavidxu-hub made their first contribution in https://github.com/aws/aws-sam-cli/pull/4444
    • @vsukameti made their first contribution in https://github.com/aws/aws-sam-cli/pull/4369

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.66.0...v1.67.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.67.0.sierra.bottle.tar.gz | 49bfedd38eb4620e4217dc0cb2fb0d6662c97e1330be832a5b2cf11b1157e043 AWS_SAM_CLI_64_PY3.msi | aa4180827878b2ec18547f5f7152cc7c788aab140e299db6f8550af4f422d847 aws-sam-cli-linux-x86_64.zip | 74264b224f133461e324e7877ed8218fe38ac2320ba498024f0c297de7bb3e95 aws-sam-cli-macos-x86_64.pkg | e070e8da15792c67fd4f19357cc5cb20fa28cc111a0e21832614515f23928afc aws-sam-cli-macos-arm64.pkg | 95a3731ebf691b3552323e31636d69851fe1b6230cd86f004a53c04f383c984b

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.67.0.sierra.bottle.tar.gz(24.14 MB)
    aws-sam-cli-linux-x86_64.zip(57.73 MB)
    aws-sam-cli-macos-arm64.pkg(26.01 MB)
    aws-sam-cli-macos-x86_64.pkg(26.77 MB)
    AWS_SAM_CLI_64_PY3.msi(53.37 MB)
  • v1.66.0(Nov 29, 2022)

    What's Changed

    • chore: Clarify note about code building on sam local start-api by @yuyokk in https://github.com/aws/aws-sam-cli/pull/4423
    • fix: fix HookFunctionality import error for pyinstaller by @moelasmar in https://github.com/aws/aws-sam-cli/pull/4430
    • chore: bump version to 1.66.0 by @moelasmar in https://github.com/aws/aws-sam-cli/pull/4431
    • chore: bump version to 1.65.1 by @moelasmar in https://github.com/aws/aws-sam-cli/pull/4433
    • chore: revert version to 1.65.0 by @moelasmar in https://github.com/aws/aws-sam-cli/pull/4437
    • feat: MacOS PyInstaller build spec and update on licenses by @qingchm in https://github.com/aws/aws-sam-cli/pull/4442
    • chore: bump AWS Lambda Builders version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4435
    • fix: set flaky marker on sam publish tests by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4429
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4421
    • fix: updated linux pyinstaller script by @hnnasit in https://github.com/aws/aws-sam-cli/pull/4445
    • chore: bump version to 1.66.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4447
    • fix: fix sam init schema tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4448
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4450

    New Contributors

    • @yuyokk made their first contribution in https://github.com/aws/aws-sam-cli/pull/4423

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.65.0...v1.66.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.66.0.sierra.bottle.tar.gz | 33cbc4f9fab6f08c96b253db6d976858317016a71056dc9489f573a9d2655982 AWS_SAM_CLI_64_PY3.msi | 63e28474d1a11051aa898896a17bcbe23e31389563196c23c16d6169a89874d5 aws-sam-cli-linux-x86_64.zip | 5509b02d5eb80b6d249bf485c4badd842769ee87c9c76c1825430011d45a2242 aws-sam-cli-macos-x86_64.pkg | 91d8bfbb9462e7916a0aa2b47bc563cbb781c7eb539ac6da6ae0c12980667273 aws-sam-cli-macos-arm64.pkg | 1a7e99bfcf898a8dfff7032a729ac52c3482461936901fae215347087bf9000e

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.66.0.sierra.bottle.tar.gz(23.72 MB)
    aws-sam-cli-linux-x86_64.zip(57.09 MB)
    aws-sam-cli-macos-arm64.pkg(25.73 MB)
    aws-sam-cli-macos-x86_64.pkg(26.47 MB)
    AWS_SAM_CLI_64_PY3.msi(52.82 MB)
  • v1.65.0(Nov 17, 2022)

    What's Changed

    • chore: bump AWS Lambda Builders version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4419
    • feat: nodejs18.x support for samcli by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4418
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4420
    • chore: Add CODEOWNERS file by @jfuss in https://github.com/aws/aws-sam-cli/pull/4416
    • chore: bump version to 1.65.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4425

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.64.0...v1.65.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.65.0.sierra.bottle.tar.gz | f135d93f1295911b154dce9708e44e88d9d4ce140fee44b7b591a5478602c59f AWS_SAM_CLI_64_PY3.msi | 4e538657170270336b2185ecc59f1c04dbf914e4f9c8548e9b21238bf26588af aws-sam-cli-linux-x86_64.zip | a52e60ba106227f5707f0ae017297189d24b59855654d2d2b09213116beef551

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.65.0.sierra.bottle.tar.gz(23.56 MB)
    aws-sam-cli-linux-x86_64.zip(57.06 MB)
    AWS_SAM_CLI_64_PY3.msi(52.67 MB)
  • v1.64.0(Nov 15, 2022)

    What's Changed

    • chore: bump AWS Lambda Builders version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4411
    • feat: add dotnet7 build method (#428) by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4410
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4413
    • chore: bump version 1.64.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4414

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.63.0...v1.64.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.64.0.sierra.bottle.tar.gz | ce81151874b5fb8ed98056ed6e17244367e9eb81d0a94ee68085be5936476208 AWS_SAM_CLI_64_PY3.msi | 2ed2db814c14821023ef0e614b2486fad0d43c99e1b00ba85dba55fdbda8a147 aws-sam-cli-linux-x86_64.zip | 8e072f913c6be9e8ce8ee3295f2baa51b3136449abd3fb0029e0e0409224fe13

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.64.0.sierra.bottle.tar.gz(23.53 MB)
    aws-sam-cli-linux-x86_64.zip(57.06 MB)
    AWS_SAM_CLI_64_PY3.msi(52.63 MB)
  • v1.63.0(Nov 15, 2022)

    Changes:

    • feat: Terraform support (#4373)
    • feat: display more helpful message when encountering Windows long path problem (#4328)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.63.0.sierra.bottle.tar.gz | ae455b56002439edfdd12bf67a0f211d38c5ca09e2a7dc805a7d3980344c173d AWS_SAM_CLI_64_PY3.msi | 4b3f473b51cde79e1fab76da6d481a54973729b9a08618c1a236918dd1be79e4 aws-sam-cli-linux-x86_64.zip | a57fdf3d2c0db2fb79a4c110cf04ab681c77e2b5799fdc62db60eb071872d42d

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.63.0.sierra.bottle.tar.gz(23.53 MB)
    aws-sam-cli-linux-x86_64.zip(57.06 MB)
    AWS_SAM_CLI_64_PY3.msi(52.63 MB)
  • v1.62.0(Nov 11, 2022)

    What's Changed

    • chore: Enforce Pytest Warnings by @jfuss in https://github.com/aws/aws-sam-cli/pull/4339
    • chore: bump golang version in CI jobs by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4352
    • fix: regresssion on sam delete by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4362
    • Updated readme by @praneetap in https://github.com/aws/aws-sam-cli/pull/4367
    • Extract full file name from Dockerfile path by @christiangaetano in https://github.com/aws/aws-sam-cli/pull/4360
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4372
    • Update aws-sam-cli-bot as user for internal pr labels by @hawflau in https://github.com/aws/aws-sam-cli/pull/4376
    • chore: bump AWS Lambda Builders version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4374
    • Publish pytesttest reports as artifacts in canary jobs by @hawflau in https://github.com/aws/aws-sam-cli/pull/4333
    • Use the same DockerContext and Dockerfile paths as the CDK is using by @i18n-tribe in https://github.com/aws/aws-sam-cli/pull/4074
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4381
    • exclude installer dir in build by @hawflau in https://github.com/aws/aws-sam-cli/pull/4389
    • chore: bump version to 1.62.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/4393
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4402

    New Contributors

    • @christiangaetano made their first contribution in https://github.com/aws/aws-sam-cli/pull/4360
    • @i18n-tribe made their first contribution in https://github.com/aws/aws-sam-cli/pull/4074

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.61.0...v1.62.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.62.0.sierra.bottle.tar.gz | da8ab710ac805c52bdc2026e2ee4b5f5345004f6b438e50f88997c2b442de77d AWS_SAM_CLI_64_PY3.msi | 925af1645ea5573ce1d114480cc287094a9f65cb7644aee74e252c8bb05c6bb1 aws-sam-cli-linux-x86_64.zip | 90432cfe161f67cbc242d75dd2488e31eabacc3ff1ac51deb1726805beeb5586

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.62.0.sierra.bottle.tar.gz(23.49 MB)
    aws-sam-cli-linux-x86_64.zip(56.69 MB)
    AWS_SAM_CLI_64_PY3.msi(52.54 MB)
  • v1.61.0(Oct 27, 2022)

    Changes:

    What's Changed

    • fix: Fixed requiring dep manager when using location flag by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4288
    • Update options.py help message by @ccannell67 in https://github.com/aws/aws-sam-cli/pull/4293
    • Remove conflict test case by @xazhao in https://github.com/aws/aws-sam-cli/pull/4306
    • Fix integration test by @xazhao in https://github.com/aws/aws-sam-cli/pull/4312
    • chore: fix typo in sam local tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4313
    • chore: bump AWS Lambda Builders version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4320
    • fix: add MaxAttempts to sam delete by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4321
    • Get TrimGoPath from build properties by @scrofungulus in https://github.com/aws/aws-sam-cli/pull/4300
    • chore: Upgrade Click and Flask by @jfuss in https://github.com/aws/aws-sam-cli/pull/4326
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4332
    • chore: bump version to 1.61.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4336
    • fix: pin flask version, suppress flask output, fix integration tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4341
    • fix: pin Werkzeug version under 2.1 as well by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4345

    New Contributors

    • @ccannell67 made their first contribution in https://github.com/aws/aws-sam-cli/pull/4293
    • @scrofungulus made their first contribution in https://github.com/aws/aws-sam-cli/pull/4300

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.60.0...v1.61.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.61.0.sierra.bottle.tar.gz | 325134b896f97cdb62ae38d72bba6a8818ad5cafe2e4bf0518374f9597433102 AWS_SAM_CLI_64_PY3.msi | f5b2c7bc8041e9d14ca3c797f0fe4ce0d44f64d37b3cf9a4dcc10cf3f0d0185a aws-sam-cli-linux-x86_64.zip | 6bfda0aa31bb3907a50cbab547928443c83a9346544de54d092c90a73c15a213

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.61.0.sierra.bottle.tar.gz(22.82 MB)
    aws-sam-cli-linux-x86_64.zip(56.67 MB)
    AWS_SAM_CLI_64_PY3.msi(51.91 MB)
  • v1.60.0(Oct 13, 2022)

    What's Changed

    • feat: skip sync confirmation for subsequent runs by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4276
    • feat: use watch and code flags at the same time by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4273
    • chore: fix sam sync integ tests after latest changes by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4286
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4294
    • Fix pipeline template generation from custom git repositories by @kfr2 in https://github.com/aws/aws-sam-cli/pull/4207
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4301
    • Feat/sam pipeline OIDC by @xazhao in https://github.com/aws/aws-sam-cli/pull/4270
    • chore: bump version to 1.60.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/4302

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.59.0...v1.60.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.60.0.sierra.bottle.tar.gz | 742a1ea4de06e88336b70b578064f51d12a1f8756241b23650dcfc4ecbd2e14a aws-sam-cli-1.60.0.x86_64_linux.bottle.tar.gz | 107f8c9e733f3bf25c9bd98f396e619ef716f80f468da7489e30b84d5b594471 AWS_SAM_CLI_64_PY3.msi | d7fb243b69600cd416b33e7b1d82dc15ecc9dd784775401739f8ec1ddbd01774 aws-sam-cli-linux-x86_64.zip | 7e768e7ea90203b7f3a685d4635837e6f8aa2c90ca0e0bda172528ec1581a4cf

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.60.0.sierra.bottle.tar.gz(22.72 MB)
    aws-sam-cli-1.60.0.x86_64_linux.bottle.tar.gz(25.22 MB)
    aws-sam-cli-linux-x86_64.zip(56.63 MB)
    AWS_SAM_CLI_64_PY3.msi(51.70 MB)
  • v1.59.0(Oct 6, 2022)

    Changes:

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.59.0.sierra.bottle.tar.gz | 64754557000381defdc5cdc508f42fff9eab889c2d9a6174e5123ca57c4c2a99 aws-sam-cli-1.59.0.x86_64_linux.bottle.tar.gz | 647e447187bb3069e9506090cbaff272d7f4e75be0d5bed96a5fce1b0679333f AWS_SAM_CLI_64_PY3.msi | 696996f85102b64e4e19df693a596fe57af14dec8a370c30e2433042e4194dac aws-sam-cli-linux-x86_64.zip | 85d1f6b20e6e0d7187432ca9d3b3aed0e85f9be4f96f1c900cebcfab08f72b7a

    What's Changed

    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4263
    • chore: separate CI jobs for deploy, package, delete and sync by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4275
    • Init fix by @praneetap in https://github.com/aws/aws-sam-cli/pull/4272
    • chore: bump version to 1.59.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4279
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4282

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.58.0...v1.59.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.59.0.sierra.bottle.tar.gz(19.72 MB)
    aws-sam-cli-1.59.0.x86_64_linux.bottle.tar.gz(20.70 MB)
    aws-sam-cli-linux-x86_64.zip(52.21 MB)
    AWS_SAM_CLI_64_PY3.msi(48.58 MB)
  • v1.58.0(Sep 29, 2022)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.58.0.sierra.bottle.tar.gz | 13ec325e38aff2b2fd63a754c80553dc2bcc587290a7b7c1791992f5880b9fbd aws-sam-cli-1.58.0.x86_64_linux.bottle.tar.gz | da79c41b9b295fde50fd66239159eab4ba7ad2ac9448e70b9a6b273df1211119 AWS_SAM_CLI_64_PY3.msi | f1efd0739dc778443a12bc7d0ef51b5033bba8df5586cde34e4ba3bc437b09f7 aws-sam-cli-linux-x86_64.zip | ba32d3c294011b0661b58c02057dd13578bbd356069a43a1123e136ece11abd2

    What's Changed

    • test: Add Retries on Duplicate Port, Timeout on Process for Local Tests by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4238
    • fix: wrap _write_container_output with try/except to gracefully handle any unexpected errors from docker api by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4240
    • New release of RIE: 1.8 by @valerena in https://github.com/aws/aws-sam-cli/pull/4257
    • Version bump to 1.58.0 by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4261

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.57.0...v1.58.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.58.0.sierra.bottle.tar.gz(19.70 MB)
    aws-sam-cli-1.58.0.x86_64_linux.bottle.tar.gz(20.68 MB)
    aws-sam-cli-linux-x86_64.zip(52.18 MB)
    AWS_SAM_CLI_64_PY3.msi(48.54 MB)
  • v1.57.0(Sep 19, 2022)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.57.0.sierra.bottle.tar.gz | b2acf0e752b4b603def7101760a149d530394d31eae23ed2cb237438d48148b8 aws-sam-cli-1.57.0.x86_64_linux.bottle.tar.gz | 06d6b1b9c28cb630930dd9906f9ccdc166ac60315c54715d468c4793448173f0 aws-sam-cli-linux-x86_64.zip | bcef3754dd4754596f7e9c55433f83b9aef798e7024c13231ee60cdf9abbae2d

    What's Changed

    • chore: Updated maintainers by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4209
    • fix: Fix --docker-volume-basedir being ignored for sam local by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4186
    • fix: speed up help by 2x on sam binary by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4205
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4201
    • fix: speed up sam init help text by 100ms by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4213
    • perf: improve unit test times for overall by 2.7x by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4214
    • perf: push --help text to 150ms, 2.6x improvement - supercharge the cli. by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4219
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4227
    • fix: return None instead of exception when layer reference can't be found in the current template by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4202
    • Revert "feat: Added data-safe stack trace collection to telemetry (#3… by @hawflau in https://github.com/aws/aws-sam-cli/pull/4232
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4231
    • feat: Add use-container flag to sam sync command by @hnnasit in https://github.com/aws/aws-sam-cli/pull/4224
    • fix: README.md - command names by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4228
    • chore: bump version to 1.57.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/4237

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.56.1...v1.57.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.57.0.sierra.bottle.tar.gz(19.49 MB)
    aws-sam-cli-1.57.0.x86_64_linux.bottle.tar.gz(20.47 MB)
    aws-sam-cli-linux-x86_64.zip(51.86 MB)
  • v1.56.1(Sep 7, 2022)

    Hashes

    Filename | SHA256 --- | --- aws-sam-cli-1.56.1.x86_64_linux.bottle.tar.gz | 2f76ed1aff017168d0757c4cc4fc67b2b67f58be586a97d44e69fc9a4d1b447a aws-sam-cli-1.56.1.sierra.bottle.tar.gz | eca8aecefec81c86e51f58bbd03f8d4091b29f18036707003178718952df580d AWS_SAM_CLI_64_PY3.msi | 396f7834758c74e0fbf5e840ffa3872d53b6e09bc7147a9a184f913b0510550c aws-sam-cli-linux-x86_64.zip | 32c455f17d46c872b1614b969655406c6d86e285164176886bde0321b4245e64

    What's Changed

    • Fix typo in watch_manager.py by @gmcquistin in https://github.com/aws/aws-sam-cli/pull/4191
    • fix: Patch sam-cli to support language extensions by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4188
    • Update appveyor definition to use go1.15 by @hawflau in https://github.com/aws/aws-sam-cli/pull/4195
    • Fix parse remote origin url by @hawflau in https://github.com/aws/aws-sam-cli/pull/4189
    • feat: Enable sam local start-api to respond with HTTP/1.1 version by @hnnasit in https://github.com/aws/aws-sam-cli/pull/4168
    • fix: Patch language extensions by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4194
    • fix: Update Slack Invite link by @jfuss in https://github.com/aws/aws-sam-cli/pull/4197
    • chore: bump sam cli version to 1.56.1 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4199

    New Contributors

    • @gmcquistin made their first contribution in https://github.com/aws/aws-sam-cli/pull/4191

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.56.0...v1.56.1

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.56.1.sierra.bottle.tar.gz(19.46 MB)
    aws-sam-cli-1.56.1.x86_64_linux.bottle.tar.gz(20.45 MB)
    aws-sam-cli-linux-x86_64.zip(51.85 MB)
    AWS_SAM_CLI_64_PY3.msi(48.29 MB)
  • v1.56.0(Sep 1, 2022)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.56.0.sierra.bottle.tar.gz | e591cb33ab19e720918589710fefa55549db9d6778d8b853049bc3265e6b2f25 aws-sam-cli-1.56.0.x86_64_linux.bottle.tar.gz | 7844a6b55d77a86b228357db10ff7d226e0c4f48cb60aa44fed5cd474b90ed60 AWS_SAM_CLI_64_PY3.msi | 1622a50e8b227663e3a81f89dd4b907ac6cf9d06890e369599a61cecb50f08a7 aws-sam-cli-linux-x86_64.zip | dff6879928cd0405c1ab0463ad9393d7f224720453e2b8058fe7402513a21559

    What's Changed

    • feat: Move esbuild binary to normal dependency by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4122
    • Support pipeline templates manifests in custom Git locations by @kfr2 in https://github.com/aws/aws-sam-cli/pull/4108
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4135
    • Merge EventTracker project into develop by @Leo10Gama in https://github.com/aws/aws-sam-cli/pull/4134
    • feat: Allow mix of global and function specific env vars for sam local by @hnnasit in https://github.com/aws/aws-sam-cli/pull/4132
    • Add mode option to create_tarball, in order to support compression by @bentvelj in https://github.com/aws/aws-sam-cli/pull/4140
    • feat: Disable ADL for esbuild by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4133
    • fix: allow relative paths for --config-file by @sriram-mv in https://github.com/aws/aws-sam-cli/pull/4165
    • fix: Fix Sourcemap Generation by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4160
    • feat: Added data-safe stack trace collection to telemetry (#3917) by @hawflau in https://github.com/aws/aws-sam-cli/pull/4141
    • fix: Fix esbuild Properties Integration Tests by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4169
    • chore: bump lambda builders version to 1.19.0 by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4166
    • feat: Remove esbuild feature flag by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4167
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4173

    New Contributors

    • @kfr2 made their first contribution in https://github.com/aws/aws-sam-cli/pull/4108

    Telemetry Update

    Starting from this release 1.56.0, we are collecting hash values of usage attributes via Telemetry to help us better understand our customers' needs, diagnose issues, and deliver features that improve the customer experience. The AWS SAM CLI does not collect personal information, such as usernames or email addresses. It also does not extract sensitive project-level information.

    If you want to disable telemetry in SAM CLI, please see https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html#serverless-sam-telemtry-opt-out.

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.55.0...v1.56.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.56.0.sierra.bottle.tar.gz(19.45 MB)
    aws-sam-cli-1.56.0.x86_64_linux.bottle.tar.gz(20.43 MB)
    aws-sam-cli-linux-x86_64.zip(51.85 MB)
    AWS_SAM_CLI_64_PY3.msi(48.28 MB)
  • v1.55.0(Aug 18, 2022)

    What's Changed

    • Error out and exit when --config-file does not exist by @cibinmathew in https://github.com/aws/aws-sam-cli/pull/4044
    • Add option to CfnTag parameter to accept multiple values per key by @bentvelj in https://github.com/aws/aws-sam-cli/pull/4103
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4124
    • chore: bump version to 1.55.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/4125

    New Contributors

    • @cibinmathew made their first contribution in https://github.com/aws/aws-sam-cli/pull/4044

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.54.0...v1.55.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.55.0.sierra.bottle.tar.gz | 4fc2b8e3ae60cb98eafd222dbd3f39240658fb33f4ba06cf77fbcd49b70824af aws-sam-cli-1.55.0.x86_64_linux.bottle.tar.gz | 9f65ef80e17a0b63796750b20d5ff829138eda2c62c88cbaf8889711c3d97d9d AWS_SAM_CLI_64_PY3.msi | f595f0f1d260a76268af410f52fa0a784c4a268def2a13272482ff8ee343a766 aws-sam-cli-linux-x86_64.zip | 5e3e2fe551b8a1ce1615100695772ac24de09946f326939a06b8483e63d25962

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.55.0.sierra.bottle.tar.gz(19.41 MB)
    aws-sam-cli-1.55.0.x86_64_linux.bottle.tar.gz(20.38 MB)
    aws-sam-cli-linux-x86_64.zip(51.82 MB)
    AWS_SAM_CLI_64_PY3.msi(48.21 MB)
  • v1.54.0(Aug 15, 2022)

    Hashes

    Filename | SHA256 --- | --- aws-sam-cli-1.54.0.sierra.bottle.tar.gz | b4010124b55ca9fdbdd1c5c37855e8c03ae26d05c766dd2aecfc77e9b5b19e70 aws-sam-cli-1.54.0.x86_64_linux.bottle.tar.gz | 7760a57d1a8d09b85c9c866cddd04e6bceb278e3396d8e0fb20bea447f1a87d8 AWS_SAM_CLI_64_PY3.msi | 9cd77625efe32cebd64ce2b749504a68a82b06cca013512b92d12ebd9a99bb2d aws-sam-cli-linux-x86_64.zip | 9bc409f7920cdd236a3ea7957d34f9a424ab8a6805b7f3e309c55fe0250fe33d

    What's Changed

    • Logging UnicodeDecodeError details in LocalApigwService._request_handler by @Lucas-C in https://github.com/aws/aws-sam-cli/pull/4016
    • Fix infinite deploy loop on small stack edge case by @BourgoisMickael in https://github.com/aws/aws-sam-cli/pull/4005
    • README.md Updated typo fixes done. by @prasadjivane in https://github.com/aws/aws-sam-cli/pull/4032
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4030
    • Adding blogposts and workshop material to readme by @praneetap in https://github.com/aws/aws-sam-cli/pull/3997
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4051
    • fix: Don't use deps dir for non-cached builds by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4052
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4080
    • fix: Fixed describe stack events reporting wrong events by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4071
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4087
    • feat: Enable source maps if either Sourcemap: true or --enable-source-maps is provided by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4062
    • feat: dedup & cached build performance improvements by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3935
    • feat: Adding --on-failure to sam deploy by @lucashuy in https://github.com/aws/aws-sam-cli/pull/3974
    • feat: Added esbuild integration tests to sam sync by @lucashuy in https://github.com/aws/aws-sam-cli/pull/4098
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/4102
    • fix: Create layer root folder before adding layer readme for ADL by @qingchm in https://github.com/aws/aws-sam-cli/pull/4114
    • chore: bump version to 1.54.0 by @mildaniel in https://github.com/aws/aws-sam-cli/pull/4115

    New Contributors

    • @Lucas-C made their first contribution in https://github.com/aws/aws-sam-cli/pull/4016
    • @prasadjivane made their first contribution in https://github.com/aws/aws-sam-cli/pull/4032

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.53.0...v1.54.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.54.0.sierra.bottle.tar.gz(19.40 MB)
    aws-sam-cli-1.54.0.x86_64_linux.bottle.tar.gz(20.37 MB)
    aws-sam-cli-linux-x86_64.zip(51.81 MB)
    AWS_SAM_CLI_64_PY3.msi(48.18 MB)
  • v1.53.0(Jun 29, 2022)

    Changes

    SAM Accelerate GA

    SAM Accelerate synchronizes infrastructure and code changes on a developer's local workspace with a cloud environment in near real time: code changes are updated in seconds in AWS Lambda; API definition changes in Amazon API Gateway; state machine updates to AWS Step Functions; and infrastructure changes are deployed via infrastructure-as-code tooling such as CloudFormation. AWS SAM Accelerate also supports synchronizing resources defined in CloudFormation Nested Stacks. To get started, you can install the SAM CLI by following the instructions in the documentation.

    With the this version of SAM CLI, SAM Accelerate features (sam sync, sam traces commands and new features to sam logs command) are now generally available. Users don’t need to provide --beta-features flag or use environment variable to enable these features.

    SAM Accelerate Nested Stack Support

    SAM Accelerate now supports nested stack. In order to use any of the SAM Accelerate commands, users can go to the root stack definition and start sam sync or use sam logs commands.

    sam sync --stack-name {my-root-stack} --watch to start development session.

    sam logs --stack-name {my-root-stack} --name {my-child-stack-logical-id}/{resource-logical-id} to get logs from a resource (resource-logical-id) in a child stack (my-child-stack).

    Other Bug-fixes & Improvements

    • --s3-bucket and --s3-prefix options are added to sam delete command so that users can define their custom S3 bucket and prefix while deleting their stacks.
    • When running sam sync with a Ruby runtime, users might experience some issues when they changed their dependencies. This issue is now fixed by cleaning up build folder before starting a sync operation.
    • When running sam logs with --tail and --include-traces flag, users need to press CTRL+C twice in order to stop long running process which is fixed in this version.
    • When running sam sync with a function which has no dependencies in its manifest file, sync operation will fail while trying to sync ADL (Auto-dependency layer) which is fixed in this version.
    • Added --s3-bucket option for sam sync command so that users can start using it with their own S3 bucket rather than letting AWS SAM CLI to create a managed bucket.
    • Users who have a function and a dependant layer definition in one of the java runtimes might face a build issue while running sam build --parallel and sam sync commands. This issue is now addressed with this version.

    Hashes

    Filename | SHA256 --- | --- aws-sam-cli-1.53.0.sierra.bottle.tar.gz | b6d0284a1053879dd8e76fc1fada29492882e3433457872bb55f960164955495 aws-sam-cli-1.53.0.x86_64_linux.bottle.tar.gz | b89fb378d3070c29af941184cc17eeee4c73c2bada7d5d0228a3d42a3c826357 AWS_SAM_CLI_64_PY3.msi | 9c93baa0cb828c667d61e73c2de5fa515df72ab8fbec0120a1e2d45427f21a3b aws-sam-cli-linux-x86_64.zip | 35261dc7fd9f54d4973fdcd56b7114546f9e27e2cb2d12744164bb7480d460dd

    Change History

    • Fix issue in cloning app templates repo in windows by @hawflau in https://github.com/aws/aws-sam-cli/pull/3950
    • feat: Add in support for nested stack's code sync with Api's and StepFunctions by @qingchm in https://github.com/aws/aws-sam-cli/pull/3948
    • test: Add ADL tests for nested and non-nested stacks by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3951
    • chore: nested stack integration tests for sam logs by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3930
    • fix: revert not creating ADL for empty dependencies by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3952
    • chore: sam sync & sam logs ux changes by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3953
    • Require Flask 1.1.4 by @dmarinuswoodwing in https://github.com/aws/aws-sam-cli/pull/3925
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3959
    • feat: Adding --s3-bucket and --s3-prefix to sam delete by @lucashuy in https://github.com/aws/aws-sam-cli/pull/3969
    • bump cookiecutter version to address CVE by @hawflau in https://github.com/aws/aws-sam-cli/pull/3956
    • chore: fix canary issues by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3978
    • Clarify debug log message in build_context command by @Rabadash8820 in https://github.com/aws/aws-sam-cli/pull/3968
    • fix: clean build folder before starting sync operation by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3982
    • refactor: Changed default sync confirmation to Y and updated sync infra sync message to be green by @lucashuy in https://github.com/aws/aws-sam-cli/pull/3986
    • bug: Use cache build instead of incremental when building in container by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3988
    • bug: make sure all pullers in child combine puller also get stopped by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3990
    • feat: Add --resource option input validation for sync --code by @qingchm in https://github.com/aws/aws-sam-cli/pull/3992
    • chore: replace InvokeContextException with granular ones by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3966
    • chore(deps): bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /samcli/lib/init/templates/cookiecutter-aws-sam-hello-dotnet/{{cookiecutter.project_name}}/src/HelloWorld by @dependabot in https://github.com/aws/aws-sam-cli/pull/3996
    • fix: add sync state and context to check previous run details by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3989
    • chore: Update lambda builder version to 1.18.0 by @qingchm in https://github.com/aws/aws-sam-cli/pull/3999
    • feat: Adding --s3-bucket to sam sync by @lucashuy in https://github.com/aws/aws-sam-cli/pull/3977
    • chore: fix java integration tests to use java8 runtime by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4002
    • fix: add try/except for parse_time which is used by logs and traces commands by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4006
    • fix: issues with parallel build when using compiled languages by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4008
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/4007
    • chore: bump version to 1.53.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4014
    • chore: skip TestSyncAdlWithWatchStartWithNoDependencies on windows by @mndeveci in https://github.com/aws/aws-sam-cli/pull/4013
    • feat: remove accelerate beta experimental flag (#3973) by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3981

    New Contributors

    • @dmarinuswoodwing made their first contribution in https://github.com/aws/aws-sam-cli/pull/3925
    • @Rabadash8820 made their first contribution in https://github.com/aws/aws-sam-cli/pull/3968

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.52.0...v1.53.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.53.0.sierra.bottle.tar.gz(19.34 MB)
    aws-sam-cli-1.53.0.x86_64_linux.bottle.tar.gz(20.31 MB)
    aws-sam-cli-linux-x86_64.zip(51.79 MB)
    AWS_SAM_CLI_64_PY3.msi(48.07 MB)
  • v1.52.0(Jun 9, 2022)

    Changes:

    What's Changed

    • fix: Fixed broken link in development guide by @lucashuy in https://github.com/aws/aws-sam-cli/pull/3927
    • Fix deploy with long poll delay events order and stop condition by @BourgoisMickael in https://github.com/aws/aws-sam-cli/pull/3919
    • chore: Add safe teardown for accelerate integration test by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3933
    • feat: remove the created intermediate containers while building the lambda functions of Image Type by @moelasmar in https://github.com/aws/aws-sam-cli/pull/3922
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3939
    • chore: bump SamTranslator version by @aws-sam-cli-bot in https://github.com/aws/aws-sam-cli/pull/3942
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3940
    • chore: bump version to 1.52.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3944
    • chore: Update command option text by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3934
    • feat: Add --s3-bucket and --s3-prefix to sam delete by @lucashuy in https://github.com/aws/aws-sam-cli/pull/3915
    • chore: Sync code integration test for nested stack by @qingchm in https://github.com/aws/aws-sam-cli/pull/3943
    • Revert "feat: Add --s3-bucket and --s3-prefix to sam delete" by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3954

    New Contributors

    • @lucashuy made their first contribution in https://github.com/aws/aws-sam-cli/pull/3927
    • @aws-sam-cli-bot made their first contribution in https://github.com/aws/aws-sam-cli/pull/3942

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.51.0...v1.52.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.52.0.sierra.bottle.tar.gz | 28271724b27e9ad0a3a1201c3bb44aaab7ada1c9e2275b6c07315a486c1210d6 aws-sam-cli-1.52.0.x86_64_linux.bottle.tar.gz | 076ccfe2743e3721c0e706b921f34e6e5bd64a0ecebb2d9f67b847ae835b5797 AWS_SAM_CLI_64_PY3.msi | d22a165f08fbff9ae6f3503d55d6439e0f84a0a9ad57075072283135187be5b2 aws-sam-cli-linux-x86_64.zip | c1f4980b7377ca9820d8e2e56207113db55edd619a72d3c7bab12fc805a93a42

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.52.0.sierra.bottle.tar.gz(19.32 MB)
    aws-sam-cli-1.52.0.x86_64_linux.bottle.tar.gz(20.28 MB)
    aws-sam-cli-linux-x86_64.zip(51.75 MB)
    AWS_SAM_CLI_64_PY3.msi(48.04 MB)
  • v1.51.0(May 31, 2022)

    Recent changes that we introduced about how to build Java functions are now default option, you can read more about it in this announcement issue: https://github.com/aws/aws-sam-cli/issues/3639

    sam build now supports --no-cached flag as well as --exclude option. With --no-cached flag, users can turn cached builds off specifically even it is enabled in the samconfig.toml file. With --exclude option, users are able to skip building some of the functions in their application.

    sam logs now supports Nested Stacks. Users can pull logging events for the resources which is defined in a nested application. Running sam logs --stack-name {stack-name} will pull the logging events from all supported resources which will now include the ones from a nested stack. Or they can use sam logs --stack-name {stack-name} --name {NestedStack/SfnResourceLogicalID} to pull loging events from a resource which is defined in a nested stack.

    What's Changed

    • feat: sam init support for x-ray tracing (API Gateway) by @Tak1wa in https://github.com/aws/aws-sam-cli/pull/3856
    • Fix multivalue query params http by @hawflau in https://github.com/aws/aws-sam-cli/pull/3788
    • feat: Nested stack support for sync watch by @qingchm in https://github.com/aws/aws-sam-cli/pull/3853
    • feat: sam traces integration test by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3618
    • fix: Fixing the trace event class to support trace_id option by @qingchm in https://github.com/aws/aws-sam-cli/pull/3879
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3880
    • feat: improve new PR and issue labeling for triaging by @torresxb1 in https://github.com/aws/aws-sam-cli/pull/3890
    • feat: nested stack support for sam logs by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3881
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3892
    • feat: prevent deploy throttle with customizable interval for DescribeStack via env by @BourgoisMickael in https://github.com/aws/aws-sam-cli/pull/3500
    • feat: make java build scope changes default by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3896
    • Add explicit --no-cached option by @andrew-zhan139 in https://github.com/aws/aws-sam-cli/pull/3889
    • feat: ADL nested stack support by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3893
    • test: Integration Tests for Sync Watch with Nested Stacks by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3909
    • fix: Add lockchain and status check to prevent sync flows race condition on function update by @qingchm in https://github.com/aws/aws-sam-cli/pull/3905
    • Sync code nested by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3887
    • fix: use correct entry file for node 16 debugging by @JadenSimon in https://github.com/aws/aws-sam-cli/pull/3913
    • feat: new release of RIE: 1.6 by @valerena in https://github.com/aws/aws-sam-cli/pull/3897
    • Add --exclude flag to sam build by @Leo10Gama in https://github.com/aws/aws-sam-cli/pull/3898
    • chore: run app templates hash updated job only on aws/aws-sam-cli by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3902
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3920
    • chore: bump version to 1.51.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3924

    New Contributors

    • @Tak1wa made their first contribution in https://github.com/aws/aws-sam-cli/pull/3856
    • @BourgoisMickael made their first contribution in https://github.com/aws/aws-sam-cli/pull/3500
    • @JadenSimon made their first contribution in https://github.com/aws/aws-sam-cli/pull/3913
    • @Leo10Gama made their first contribution in https://github.com/aws/aws-sam-cli/pull/3898

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.50.0...v1.51.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.51.0.sierra.bottle.tar.gz | f3e2eaa35ba7573e274e05beb97e8914607156894335f40b4c481bb197cc6bd5 aws-sam-cli-1.51.0.x86_64_linux.bottle.tar.gz | 474c208a4d112e443a0ea2efee75bfb9b834ff7406d24075e3d04ffe3e3bf795 AWS_SAM_CLI_64_PY3.msi | a39172a7f8e2dce33a2186e7a28a93e4d40b8044a0fb3e3afa5c09742e533da5 aws-sam-cli-linux-x86_64.zip | 3c5e26715096413544f7a39ec338e5045b59ed24f0acf04a5d4e04cd113e01a3

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.51.0.sierra.bottle.tar.gz(19.23 MB)
    aws-sam-cli-1.51.0.x86_64_linux.bottle.tar.gz(20.19 MB)
    aws-sam-cli-linux-x86_64.zip(51.71 MB)
    AWS_SAM_CLI_64_PY3.msi(47.87 MB)
  • v1.50.0(May 12, 2022)

    What's Changed

    • fix: iac canaries by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3874
    • fix: Lock functions from building with same codeuri at the same time by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3862
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3869
    • fix: Use abs path to upload stackset template on S3 by @maintux in https://github.com/aws/aws-sam-cli/pull/3818
    • fix: Add in trace event revision to prevent partial trace printing by @qingchm in https://github.com/aws/aws-sam-cli/pull/3876
    • chore: bump version to 1.50.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3878

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.49.0...v1.50.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.50.0.sierra.bottle.tar.gz | 2a189043cdddbe1cb99adfddd187c270113732615044f10b7463ab654e0c95bc aws-sam-cli-1.50.0.x86_64_linux.bottle.tar.gz | 9bf73e789558ab65e14900ceefc2a2dfcc39faf2c84245f984ae564ebb5ff86d AWS_SAM_CLI_64_PY3.msi | 921feb9fedc68264e163b5f1c3d2c53bb918acb2536f818d98efdb85ef42e955 aws-sam-cli-linux-x86_64.zip | 093fc2cc40b098321dcc8635abe468642b72f8658821c9243a9357e400734207

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.50.0.sierra.bottle.tar.gz(18.99 MB)
    aws-sam-cli-1.50.0.x86_64_linux.bottle.tar.gz(19.96 MB)
    aws-sam-cli-linux-x86_64.zip(51.67 MB)
    AWS_SAM_CLI_64_PY3.msi(47.67 MB)
  • v1.49.0(May 10, 2022)

    What's Changed

    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3849
    • feat: Added Support for Test Account Management by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3845
    • fix: command should not fail when global config fails to write by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3859
    • Bump Lambda Builder version to 1.16.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3865
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3867
    • Nodejs16 support for samcli (#419) by @hawflau in https://github.com/aws/aws-sam-cli/pull/3866
    • chore: Version bump to 1.49.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3868

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.48.0...v1.49.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.49.0.sierra.bottle.tar.gz | 81e2b407b6f5ae525ac53b21c489cfd8ef9fa35d1411918e7a54388a37b34577 aws-sam-cli-1.49.0.x86_64_linux.bottle.tar.gz | cb9c0f81a2b1e7d0c0f61c062478a06388b5892ff29627fedd016fcbdf88b11f AWS_SAM_CLI_64_PY3.msi | 661c18c7d0b3af7641507daf0be5371a6002550be4201388bc9cf635754fd7b6 aws-sam-cli-linux-x86_64.zip | 3ccd19d6a9962bb5677550dc0ef75e9837882e5ec91a750b197190fd22018502

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.49.0.sierra.bottle.tar.gz(18.97 MB)
    aws-sam-cli-1.49.0.x86_64_linux.bottle.tar.gz(19.94 MB)
    aws-sam-cli-linux-x86_64.zip(51.66 MB)
    AWS_SAM_CLI_64_PY3.msi(47.66 MB)
  • v1.48.0(May 3, 2022)

    Changes:

    • feat: sam init support for x-ray tracing by @jonife in https://github.com/aws/aws-sam-cli/pull/3817
    • fix: sam init schema integration tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3839
    • #3826: print the appropriate message for the nested stack by @stavros-zavrakas in https://github.com/aws/aws-sam-cli/pull/3827
    • chore: store stack resources in memory by @moelasmar in https://github.com/aws/aws-sam-cli/pull/3832
    • fix: deploy and init integration tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3847
    • chore: bump version to 1.48.0 by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3848

    New Contributors

    • @stavros-zavrakas made their first contribution in https://github.com/aws/aws-sam-cli/pull/3827

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.47.0...v1.48.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.48.0.sierra.bottle.tar.gz | 4d99a85e052326fc07245fd8a5982a1430d971ae6cb3d229ee96d91a8388ca0c aws-sam-cli-1.48.0.x86_64_linux.bottle.tar.gz | 32a8a6185ad52a5be7cb388fb86eaf701a2225c593e5c85f8094921d7bfaee7e AWS_SAM_CLI_64_PY3.msi | 9323c8bcd9e02f3b778ec537d2691497946f8cb088085a983d9b7b29d29d09fa aws-sam-cli-linux-x86_64.zip | 67c2009aeec76940bd9def0e5dfab2c1d16269fc632a90a976a2b3436d99bc99

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.48.0.sierra.bottle.tar.gz(18.97 MB)
    aws-sam-cli-1.48.0.x86_64_linux.bottle.tar.gz(19.94 MB)
    aws-sam-cli-linux-x86_64.zip(51.66 MB)
    AWS_SAM_CLI_64_PY3.msi(47.66 MB)
  • v1.47.0(Apr 28, 2022)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.47.0.sierra.bottle.tar.gz | a389f7b417b3f1f426d52a857b688ec3b00c06208ea5b4e79acec5eefdcce626 aws-sam-cli-1.47.0.x86_64_linux.bottle.tar.gz | 485f2e9c4b6bf6cf4d855dbfc203020a60b46762649df0d1d63beddb19b99c9d AWS_SAM_CLI_64_PY3.msi | 2c2001efdba3e2f76d8d40cfe3ade04797600bd031d4e5ec8ac1c99605932530 aws-sam-cli-linux-x86_64.zip | 29b00c0332adb1ac43fa2b2fd284f5b3aab933d843038c9e43cc55386db68aff

    What's Changed

    • fix: Add support for extracting cors options from apigw method resource by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3574
    • bind samcli version to certain commit of app template by @mingkun2020 in https://github.com/aws/aws-sam-cli/pull/3815
    • fix: use original function and layer build definition after updating manifest and codeuri hashes by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3653
    • chore: sam logs integration tests by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3607
    • chore: Bump pylint version by @hawflau in https://github.com/aws/aws-sam-cli/pull/3825
    • fix: accept CDK resource path that does not end with /Resource by @moelasmar in https://github.com/aws/aws-sam-cli/pull/3835
    • Adding sam validate to cli output by @praneetap in https://github.com/aws/aws-sam-cli/pull/3833
    • chore: add gh action to update app templates hash by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3838
    • chore: Bump lambda builders version by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3840
    • fix: wait for socket connection before invoking/executing function in local invoke, start-api, etc. by @torresxb1 in https://github.com/aws/aws-sam-cli/pull/3831
    • Fix tests to not depend on changeable value by @hawflau in https://github.com/aws/aws-sam-cli/pull/3842
    • feat: update SAM CLI with latest App Templates commit hash by @github-actions in https://github.com/aws/aws-sam-cli/pull/3841
    • chore: bump version to 1.47.0 by @torresxb1 in https://github.com/aws/aws-sam-cli/pull/3844

    New Contributors

    • @github-actions made their first contribution in https://github.com/aws/aws-sam-cli/pull/3841

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.46.0...v1.47.0

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.47.0.sierra.bottle.tar.gz(18.96 MB)
    aws-sam-cli-1.47.0.x86_64_linux.bottle.tar.gz(19.92 MB)
    aws-sam-cli-linux-x86_64.zip(51.65 MB)
    AWS_SAM_CLI_64_PY3.msi(44.80 MB)
  • v1.46.0(Apr 7, 2022)

    Changes:

    • SAM INIT support for custom runtimes by @jonife in https://github.com/aws/aws-sam-cli/pull/3726

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.45.0...v1.46.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.46.0.sierra.bottle.tar.gz | 35e65d4a3a5d16357d8f830249c0fea2679366e44efd4b80d96649741b6c9de3 aws-sam-cli-1.46.0.x86_64_linux.bottle.tar.gz | 61d287020ef4470648a1c95f7645d1bcaf184d3fbc7cc1b4a3804cb77fc68625 AWS_SAM_CLI_64_PY3.msi | 35fba95afb71826f5e74471adf5776e84af1fce056968ff61f76476d64a90b32 aws-sam-cli-linux-x86_64.zip | b393b2500e117b662397e07a615ea6c08e9db5b8e16bc70c0bddb960752d5f08

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.46.0.sierra.bottle.tar.gz(18.91 MB)
    aws-sam-cli-1.46.0.x86_64_linux.bottle.tar.gz(19.87 MB)
    aws-sam-cli-linux-x86_64.zip(51.64 MB)
    AWS_SAM_CLI_64_PY3.msi(44.70 MB)
  • v1.45.0(Apr 7, 2022)

    What's Changed

    • fix: Update expected values for sync integration tests by @qingchm in https://github.com/aws/aws-sam-cli/pull/3801
    • chore: update to aws-sam-translator 1.45.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3804
    • Function Url Auth Type Prompt (#416) by @jonife in https://github.com/aws/aws-sam-cli/pull/3805
    • chore: bump version to 1.45.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3806

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.44.0...v1.45.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.45.0.sierra.bottle.tar.gz | 9c321258bfb1d06222b63fabfa0fb3447b365756a4046b3a7384c964569e7c7f aws-sam-cli-1.45.0.x86_64_linux.bottle.tar.gz | ab64704b3c8a47e8f35d4b6a82bbb0b2d17e960aac8e2e77b70c5f7b6eb5a2c7 AWS_SAM_CLI_64_PY3.msi | 66fe51713c79edc4d1caff2909a7b5d68c0f952fec4c15aaaae05384bc18a189 aws-sam-cli-linux-x86_64.zip | 9d0d0af34b2da5b78eb649a7dd9c34670df6c2b0d7fe82a62ec810c716069f54

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.45.0.sierra.bottle.tar.gz(18.90 MB)
    aws-sam-cli-1.45.0.x86_64_linux.bottle.tar.gz(19.87 MB)
    aws-sam-cli-linux-x86_64.zip(51.63 MB)
    AWS_SAM_CLI_64_PY3.msi(44.69 MB)
  • v1.44.0(Apr 6, 2022)

    Changes:

    • fix: Resolving symlinks when updating relative paths in template by @calabrla in https://github.com/aws/aws-sam-cli/pull/3764
    • fix: warm containers break on non-local layers by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3776
    • fix: broken integration tests due to new Go code binding in EB by @hawflau in https://github.com/aws/aws-sam-cli/pull/3785
    • add exporter for AWS::CloudFormation::StackSet resource by @maintux in https://github.com/aws/aws-sam-cli/pull/3674
    • Bump minimum boto3 version to 1.19.5 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3790
    • chore: update development guide by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3796
    • chore: bump version to 1.44.0 by @qingchm in https://github.com/aws/aws-sam-cli/pull/3797

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.43.0...v1.44.0

    New Contributors

    • @calabrla made their first contribution in https://github.com/aws/aws-sam-cli/pull/3764
    • @maintux made their first contribution in https://github.com/aws/aws-sam-cli/pull/3674

    Hashes

    Filename | SHA256 --- | --- aws-sam-cli-1.44.0.sierra.bottle.tar.gz | 9bbae1e311603cfc0595ab2e1e9a98655320fab16c165226eddca166c128d45b aws-sam-cli-1.44.0.x86_64_linux.bottle.tar.gz | 8887ea3f3ef7243b50b9adc7a034b1d14532e3f971b3fd5485269b99a96ef43e AWS_SAM_CLI_64_PY3.msi | af6dc9313342bbb1b2b29e0e049432774a91b7b29b41dee09fcd67988f8df121 aws-sam-cli-linux-x86_64.zip | 323039e6907ff994f813b3f8b516f7e0338bd7ae8a8857cf53ad32fbf5506c33

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.44.0.sierra.bottle.tar.gz(18.89 MB)
    aws-sam-cli-1.44.0.x86_64_linux.bottle.tar.gz(19.86 MB)
    aws-sam-cli-linux-x86_64.zip(51.63 MB)
    AWS_SAM_CLI_64_PY3.msi(44.68 MB)
  • v1.43.0(Mar 28, 2022)

    Changes:

    76524df - feat(generate-event): Add ALB event (#3670) f579e22 - chore: update to aws-sam-translator 1.44.0 (#3779) d12143d - chore: bump version to 1.43.0 (#3780)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.43.0.sierra.bottle.tar.gz | 45fae69e6cad48b98df9a6c2325fd8bbc28dbe6454dee0057cafe028d70de5eb aws-sam-cli-1.43.0.x86_64_linux.bottle.tar.gz | c78b3b84c6f9afe21b4f3574e78038bdf9a73104ec170688baad695f2536b927 AWS_SAM_CLI_64_PY3.msi | 5cb514e8bf0794292c567958aae5ec4f0f6005bdcbe4cd9af6d4eb777bba9b8f aws-sam-cli-linux-x86_64.zip | 5475e78ce0a27379a5cd69bbc868e0350bad4f74b2abfc1ddf1b9cfcfc9f40a8

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.43.0.sierra.bottle.tar.gz(18.87 MB)
    aws-sam-cli-1.43.0.x86_64_linux.bottle.tar.gz(19.83 MB)
    aws-sam-cli-linux-x86_64.zip(51.05 MB)
    AWS_SAM_CLI_64_PY3.msi(44.64 MB)
  • v1.42.0(Mar 24, 2022)

    What's Changed

    • [typing] Unlock boto3-stubs and add all services in use by @vemel in https://github.com/aws/aws-sam-cli/pull/3702
    • Revert "Revert "feat: Add Go code generation option to Eventbridge Schemas workflow"" by @hawflau in https://github.com/aws/aws-sam-cli/pull/3723
    • fix: remove py3.6 support by @mndeveci in https://github.com/aws/aws-sam-cli/pull/3625
    • feat: Updated Image to Visual Studio 2019 by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3771
    • chore: Update translator version to 1.43.0 by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3767
    • chore: bump version to 1.42.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3774

    New Contributors

    • @vemel made their first contribution in https://github.com/aws/aws-sam-cli/pull/3702

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.41.0...v1.42.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.42.0.sierra.bottle.tar.gz | 375659ebd66d98618f671bb423b4bdeec205c08af46d5161f9d62520b6e66aff aws-sam-cli-1.42.0.x86_64_linux.bottle.tar.gz | 576d6d78d014d60d3103df8fa07c20b20eed84f7ed3cf358cdc3617fb93badf3 AWS_SAM_CLI_64_PY3.msi | 70465b026cd8d7c8be75da4e24eb9af49a71ae7214b17fb1c62d30cf33f837a3 aws-sam-cli-linux-x86_64.zip | d60ae03f43b5df900c61373a0bf1ad2d3f1914d36902457a188cc4ae16f137d5

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.42.0.sierra.bottle.tar.gz(18.86 MB)
    aws-sam-cli-1.42.0.x86_64_linux.bottle.tar.gz(19.83 MB)
    aws-sam-cli-linux-x86_64.zip(51.03 MB)
    AWS_SAM_CLI_64_PY3.msi(44.64 MB)
  • v1.41.0(Mar 21, 2022)

    What's Changed

    • Revert "Revert "fix: Warm containers break on non-local layers"" by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3704
    • feat: Update Pull Request Template by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3641
    • fix: Update Python3.6 Debug Bootstrap Path by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3708
    • Refactor deprecated unittest aliases for Python 3.11 compatibility. by @tirkarthi in https://github.com/aws/aws-sam-cli/pull/3352
    • feat: Add flag for using npm ci in node builds by @mildaniel in https://github.com/aws/aws-sam-cli/pull/3705
    • feat(generate-event): Add Amazon Work Mail event by @michaelbrewer in https://github.com/aws/aws-sam-cli/pull/3647
    • feat: Add Go code generation option to Eventbridge Schemas workflow by @kolaamoo25 in https://github.com/aws/aws-sam-cli/pull/3657
    • Revert "feat: Add Go code generation option to Eventbridge Schemas workflow" by @torresxb1 in https://github.com/aws/aws-sam-cli/pull/3722
    • fix: container start waits for port by @torresxb1 in https://github.com/aws/aws-sam-cli/pull/3706
    • feat(generate-event): Add Http API V2 event by @michaelbrewer in https://github.com/aws/aws-sam-cli/pull/3655
    • New release of RIE: 1.4 by @valerena in https://github.com/aws/aws-sam-cli/pull/3690
    • feat(generate-event): Add Amazon Lex V2 Event by @michaelbrewer in https://github.com/aws/aws-sam-cli/pull/3649
    • Gating Unsupported runtime by @jonife in https://github.com/aws/aws-sam-cli/pull/3724
    • Revert "fix: Warm containers break on non-local layers" by @hawflau in https://github.com/aws/aws-sam-cli/pull/3738
    • Revert "feat: Add flag for using npm ci in node builds" by @hawflau in https://github.com/aws/aws-sam-cli/pull/3740
    • chore: bump version to 1.41.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3743
    • feat(generate-event): Add Rest API Request Authorizer event by @michaelbrewer in https://github.com/aws/aws-sam-cli/pull/3681
    • feat: Watch Integration Tests by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3617
    • fix: Added Left Over Resource Clean Up by @CoshUS in https://github.com/aws/aws-sam-cli/pull/3728
    • chore: bump Lambda Builder version to 1.14.0 by @hawflau in https://github.com/aws/aws-sam-cli/pull/3756
    • Revert "Revert "feat: Add flag for using npm ci in node builds"" by @hawflau in https://github.com/aws/aws-sam-cli/pull/3741
    • Revert "fix: container start waits for port" by @hawflau in https://github.com/aws/aws-sam-cli/pull/3765

    New Contributors

    • @michaelbrewer made their first contribution in https://github.com/aws/aws-sam-cli/pull/3647
    • @kolaamoo25 made their first contribution in https://github.com/aws/aws-sam-cli/pull/3657

    Full Changelog: https://github.com/aws/aws-sam-cli/compare/v1.40.1...v1.41.0

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.41.0.sierra.bottle.tar.gz | 55ec331c0011abe3a81bbedac7ee4f427856deec93be2c43a9f73f71bdb376c1 aws-sam-cli-1.41.0.x86_64_linux.bottle.tar.gz | afe003575f7adb828ae83a91b56c3cf7d87ee7fd45c9018cfba3d87255f9a6cf AWS_SAM_CLI_64_PY3.msi | b48d0f18d47af6220af07aba406a3f197ac51277e93687fd82270fe239ceb865 aws-sam-cli-linux-x86_64.zip | 6823c93f3539ff7243eadd52c7948c0b4dc87985e4d72b68068b1b8ead8f5d24

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.41.0.sierra.bottle.tar.gz(18.78 MB)
    aws-sam-cli-1.41.0.x86_64_linux.bottle.tar.gz(19.75 MB)
    aws-sam-cli-linux-x86_64.zip(51.02 MB)
    AWS_SAM_CLI_64_PY3.msi(44.48 MB)
  • v1.40.1(Mar 2, 2022)

    Changes:

    40d00a5 - fix: Runtime sorting fix and use new manifest (#3696) 5a3c9f4 - chore: Updated Version to 1.40.1 (#3699) c85d2ef - fix: Warm containers break on non-local layers (#3694) c31a6b7 - Revert "fix: Warm containers break on non-local layers (#3694)" (#3703)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.40.1.sierra.bottle.tar.gz | c132b5f54b98b8f91a7a5991e433bfac8a0ee1c17cccdc7c008914facbb3c5c4 aws-sam-cli-1.40.1.x86_64_linux.bottle.tar.gz | a2925d1558b91f0b94f569b14b7702ec05e60a131dcf5f07063e7f32aa97d8c8 AWS_SAM_CLI_64_PY3.msi | ac30ce1469fff5e6b9db9f76b5563f9d37138eca7c5c63078af46f675e1d842f aws-sam-cli-linux-x86_64.zip | 0b1641261f2271d829870aab95953686319b8251b51ce7c8a34f1a0ee8ed6c44

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.40.1.sierra.bottle.tar.gz(18.71 MB)
    aws-sam-cli-1.40.1.x86_64_linux.bottle.tar.gz(19.69 MB)
    aws-sam-cli-linux-x86_64.zip(51.00 MB)
    AWS_SAM_CLI_64_PY3.msi(44.43 MB)
  • v1.40.0(Feb 24, 2022)

    Changes:

    638fa32 - Revert "feat: support openapi yaml include validation (#3451)" (#3685) 40114af - Update Lambda Builder version (#3688) 9ebf087 - Feat dotnet6 aboelha (#415) (#3687) 59d82ec - chore: bump version to 1.40.0 (#3689)

    Hashes:

    Filename | SHA256 --- | --- aws-sam-cli-1.40.0.sierra.bottle.tar.gz | ec2782b5aa294d916254ea3affbb2e276099fbd5cdf98edc86912c4791951582 aws-sam-cli-1.40.0.x86_64_linux.bottle.tar.gz | 2231322fa42b41923656cd4d972a24bb9433979e3fef18da797bfd1cb506939a AWS_SAM_CLI_64_PY3.msi | e27936188a26ca5dac44079954e6e29284aae929974e6e9640a1469957870de0 aws-sam-cli-linux-x86_64.zip | 1e12942d8916e905141147b653d1286ee4730d22fc498f312965a6718967b22c

    Source code(tar.gz)
    Source code(zip)
    aws-sam-cli-1.40.0.sierra.bottle.tar.gz(18.69 MB)
    aws-sam-cli-1.40.0.x86_64_linux.bottle.tar.gz(19.65 MB)
    aws-sam-cli-linux-x86_64.zip(50.98 MB)
    AWS_SAM_CLI_64_PY3.msi(44.40 MB)
Pyreadline3 - Windows implementation of the GNU readline library

pyreadline3 The pyreadline3 package is based on the stale package pyreadline loc

32 Jan 06, 2023
:computer: tmux session manager. built on libtmux

tmuxp, tmux session manager. built on libtmux. We need help! tmuxp is a trusted session manager for tmux. If you could lend your time to helping answe

python utilities for tmux 3.6k Jan 01, 2023
texel - Command line interface for reading spreadsheets inside terminal

texel - Command line interface for reading spreadsheets inside terminal. Sometimes, you have to deal with spreadsheets. Those are sad times. Fortunate

128 Dec 19, 2022
CLI/GUI Math commands based on python 3

PyMath Commands Syntax Installation Commands: pymath add: usage: pymath add 12.5 12.5 sub: usage: pymath sub 25 12.5 div: usage: pymath div 144 12 mul

eggsnham07 0 Nov 22, 2021
a-shell: A terminal for iOS, with multiple windows

a-shell: A terminal for iOS, with multiple windows

Nicolas Holzschuch 1.7k Jan 02, 2023
A command line application to analyse reports from TBC Warcraft Logs.

README A command line application to analyse reports from TBC Warcraft Logs. The application was written and tested with Python 3.9. Features Dumps an

2 Dec 17, 2021
Declarative CLIs with argparse and dataclasses

argparse_dataclass Declarative CLIs with argparse and dataclasses. Features Features marked with a ✓ are currently implemented; features marked with a

Mike DePalatis 29 Dec 06, 2022
A set of libraries and functions for simplifying automating Cisco devices through SecureCRT.

This is a set of libraries for automating Cisco devices (and to a lesser extent, bash prompts) over ssh/telnet in SecureCRT.

Matthew Spangler 7 Mar 30, 2022
EODAG is a command line tool and a plugin-oriented Python framework for searching, aggregating results and downloading remote sensed images while offering a unified API for data access regardless of the data provider

EODAG (Earth Observation Data Access Gateway) is a command line tool and a plugin-oriented Python framework for searching, aggregating results and downloading remote sensed images while offering a un

CS GROUP 205 Jan 03, 2023
A Command Line Calculator With Python

CalculadoraPY Usando no Termux apt install python3 apt install git pip3 install termcolor git clone https://github.com/kayke981/CalculadoraPY.git

kayake 5 Jan 30, 2022
Python remote shell.

Python remote shell.

Steven 9 Oct 17, 2022
Spotify Offline is a command line tool that allows one to download Spotify playlists in MP3 format.

Spotify Offline v0.0.2 listen to your favorite spotify songs, offline Overview Spotify Offline (spotifyoffline) is a command line tool that allows one

Aarush Gupta 1 Nov 28, 2021
A simple python script to execute a command when a YubiKey is disconnected

YubiKeyExecute A python script to execute a command when a YubiKey / YubiKeys are disconnected. ‏‏‎ ‎ How to use: 1. Download the latest release and d

6 Mar 12, 2022
A simple terminal-based localhost chat application written in python

Chat House A simple terminal-based localhost chat application written in python How to Use? Clone the repo git clone https://github.com/heksadecimal/c

Heks 10 Nov 09, 2021
💥 Share files easily over your local network from the terminal!

Fileshare 📨 Share files easily over your local network from the terminal! 📨 Installation # clone the repo $ git clone https://github.com/dopevog/fil

Dopevog 11 Sep 10, 2021
Display Images in your terminal with python

Term-Img Display Images in your terminal with python NOTE: This project is a work in progress and not everything on here has actually been implemented

My avatar ;D 118 Jan 05, 2023
Urial (URI Addition tooL) intelligently updates URIs stored in Finder comments of macOS files

Urial Urial (URI addition tool) is a simple but intelligent command-line tool to add or replace URIs found inside macOS Finder comments. Table of cont

Mike Hucka 3 Sep 14, 2022
A 3D engine powered by ASCII art

3D engine powered by ASCII art

Lingdong Huang 48 Nov 16, 2022
Easily turn single threaded command line applications into a fast, multi-threaded application with CIDR and glob support.

Easily turn single threaded command line applications into a fast, multi-threaded application with CIDR and glob support.

Michael Skelton 1k Jan 07, 2023
This is a tool for managing file notes through the command line

This is a tool for managing file notes through the command line

2 Jun 22, 2022