Code Monkey home page Code Monkey logo

aws-ebcli's People

Contributors

brianantonelli avatar kulinski avatar mitchellhuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aws-ebcli's Issues

Include OpenSSH in the image

If you're using eb ssh it won't work as SSH isn't included with the image. Can be fixed by adding openssh to the list of packages to be installed in the Dockerfile.

what AWS_SESSION_TOKEN is used for?

docker run -i -e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} -e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} -w /work -v $PWD:/work coxauto/aws-ebcli /bin/bash -c "${CMD}"

Throws:
ERROR: InvalidProfileError - The config profile (eb-cli) could not be found

why needs AWS_SESSION_TOKEN?

secret key and key id are enough.

Clear AWS credential in Jenkins

Hi,
I try to deploy 2 different projects to 2 different AWS environments by 2 different AWS credentials,
I do it by passing "-e" argument,
It seems that it's cached, and in the second project, it tries to push it to the same AWS environment,
Would you please help me if I can try any other approach or somehow overwrite the credentials,
Thanks,
Sina

eb command not found

With Gitlab Runner CI/CD throws eb command not found

.gitlab-ci.yml

... // other stages and configs, then:
deploy:
  stage: deploy
  image: coxauto/aws-ebcli
  dependencies:
    - build
  script:
    - mkdir -p ~/.aws
    - touch ~/.aws/config
    - chmod 600 ~/.aws/config
    - echo "[profile eb-cli]" >> ~/.aws/config
    - echo "aws_access_key_id=${AWS_ACCESS_KEY_ID}" >> ~/.aws/config
    - echo "aws_secret_access_key=${AWS_SECRET_ACCESS_KEY}" >> ~/.aws/config
    - git checkout $CI_COMMIT_REF_NAME
    - git fetch --all
    - git pull
    - eb labs cleanup-versions --force
    - eb deploy
    - echo "DEPLOYMENT OF $CI_COMMIT_REF_NAME IS COMPLETE"
  environment:
    name: $CI_COMMIT_REF_NAME
  only:
    - master

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.