aws-samples / aws-serverless-workshop-innovator-island

Welcome to the Innovator Island serverless workshop! This repo contains all the instructions and code you need to complete the workshop.
MIT No Attribution
564 stars 228 forks source link

User ID and Password request #19

Closed awsome1-mtegrate closed 4 years ago

awsome1-mtegrate commented 4 years ago

I took a break from the workshop for a day and now when I run the command 'git push' I am being asked for a user ID and password and I have no idea which one to try

This is in the translate module

julianwood commented 4 years ago

Try redoing the CodeCommit git config in Module1:

git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
cd ~/environment/theme-park-frontend/
AWS_REGION=$(curl -s http://169.254.169.254/latest/meta-data/placement/availability-zone | sed 's/\(.*\)[a-z]/\1/')
git push --set-upstream https://git-codecommit.$AWS_REGION.amazonaws.com/v1/repos/theme-park-frontend master
awsome1-mtegrate commented 4 years ago

Thanks - worked perfectly! image