Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/aws-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: sanathkr/aws-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 0 files changed
  • 1 contributor

Commits on Feb 19, 2018

  1. Adding --base-dir option to aws cloudformation package

    If local artifacts are specified as relative paths, the command will
    resolve them against this directory before uploading. This is true
    for everything **including** nested stack templates.
    
    Ex:
    $ cat template
    Transform: AWS::Serverless-2016-10-31
    Resources:
      Function:
        Type: AWS::Serverless::Function
        Properties:
          Handler: main
          CodeUri: ./main.zip
          Runtime: go1.x
    
    $ pwd
    /home/user/example
    
    $ tree
    template.yaml
    build/
      main.zip
    
    $ aws cloudformation package --template ./template.yaml --base-dir ./build --s3-bucket bucket
    
    The above command will upload main.zip from ./build folder and produce a packaged template.
    If you have a nested stack template, then artifacts referenced there are relative to the
    nested stack template.
    sanathkr committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    ba76679 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36df2e4 View commit details
    Browse the repository at this point in the history
Loading