Skip to main content

Posts

Showing posts with the label AWS-profiles

Note AWS 3

Multiple profile user CLI Many time we want to use many user/credential with AWS CLI https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html And update ~/.aws/config https://stackoverflow.com/questions/29190202/how-to-change-the-aws-account-using-the-elastic-beanstalk-cli CodePipeline (CodeCommit or CodeBuild) https://medium.com/@xoor/using-aws-codepipeline-to-automate-deployments-to-elasticbeanstalk-e80ca988ef70 git-codecommit https://forums.aws.amazon.com/thread.jspa?threadID=198356 Two questions: 1) Does this command work: $ echo -e "protocol=https\npath=/v1/repos/myrepo\nhost=git-codecommit.us-east-1.amazonaws.com" | aws codecommit credential-helper get 2) If it does not work, could you provide debug logs by running: $ echo -e "protocol=https\npath=/v1/repos/myrepo\nhost=git-codecommit.us-east-1.amazonaws.com" | aws codecommit credential-helper get --debug It is more complicated than it seems. Here is AWS git config https:...