Code Monkey home page Code Monkey logo

awsp-plus's People

Contributors

abyss avatar deepanshu2506 avatar johnnyopao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

awsp-plus's Issues

configure helper support

Configure a way (perhaps in the .awsp file?) to indicate whether a credential helper is needed, like saml2aws, and then run login for the profile if the session is nonexistent or expired.

Configure profile for AWS eb CLI

Ay,

Nice works ! But I think there is missing something. It correctly set AWS_PROFILE but for ElasticBeanStalk CLI the export variable must be AWS_EB_PROFILE.

Do you think it possible to add that ?

Regards,

awsp crashes Ubuntu Terminal and Guake after choosing a profile

Hi, I configured alias for awsp and when I call it I see the profile list but when I choose one of them the terminal dies. The same behavior happens with native ubuntu terminal and guake. Where are awsp logs written, so I can put them here for analysis?

aws-cli works fine when using --profile flag.

$ alias
alias awsp='source _awspp'

$ guake --version
Guake Terminal: 3.10
VTE: 0.68.0
VTE runtime: 0.68.0
Gtk: 3.24.33

$ npm -g list
~/.asdf/installs/nodejs/20.5.1/lib
├── [email protected]
├── [email protected]
└── [email protected]

$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

When default profile is only profile set up or no profiles are configured, awspp dies ungracefully

Summary:
If the config file does not exist or only contains [default], the script errors in an ugly manner

AWS Profile Switcher Plus
No profiles found.
Refer to this guide for help on setting up a new AWS profile:
https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
Error: TypeError: Cannot read property 'profile' of undefined
    at /home/ssadowski/.local/.npm/lib/node_modules/awsp-plus/index.js:64:46
    at new Promise (<anonymous>)
    at writeToConfig (/home/ssadowski/.local/.npm/lib/node_modules/awsp-plus/index.js:63:10)
cat: /home/ssadowski/.awsp: No such file or directory

Expected result:
If default isn't available, echo only the 'No profiles found' message with link, if default is available, allow user to select it

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.