Giter Club home page Giter Club logo

chat-lam1's Introduction

lambda-sam-hello-world

Lambda SAM hello world

export BUCKET=com.atomist.hello

export STACK_NAME=lambda-sam-hello

aws s3 mb s3://$BUCKET

[/Users/rodjohnson/Library/Python/3.7/bin/]sam package --template-file template.yml --s3-bucket $BUCKET --output-template-file packaged-template.yml

sam deploy --template-file packaged-template.yml --stack-name $STACK_NAME --capabilities CAPABILITY_IAM

sam deploy is an alias for a cloud formation command. See docs. Use --s3prefix It exits without error if no change has been made via a new package call.

aws cloudformation describe-stacks
{
    "Stacks": [
        {
            "StackId": "arn:aws:cloudformation:us-east-1:773141716313:stack/simple-hello-world/85214f80-1205-11e9-b634-0e348661d726",
            "DriftInformation": {
                "StackDriftStatus": "NOT_CHECKED"
            },
            "LastUpdatedTime": "2019-01-06T22:50:58.494Z",
            "Tags": [],
            "CreationTime": "2019-01-06T22:50:52.945Z",
            "Capabilities": [
                "CAPABILITY_IAM"
            ],
            "StackName": "simple-hello-world",
            "NotificationARNs": [],
            "StackStatus": "CREATE_COMPLETE",
            "DisableRollback": false,
            "ChangeSetId": "arn:aws:cloudformation:us-east-1:773141716313:changeSet/awscli-cloudformation-package-deploy-1546815052/80b7141e-0a79-4aaa-9aab-df07e2ca0a44",
            "RollbackConfiguration": {}
        }
    ]
}

carrot

chat-lam1's People

Contributors

johnsonr avatar

Watchers

Christian Dupuis avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.