/awscloudshell

AWS Cloudshell

Primary LanguageShellMIT LicenseMIT

AWS Cloudshell

  • Storage: 1GB
  • Runtime:

Run ghinstall.sh to download gh cli
Run tfinstall.sh to download terraform

gh auth login

[cloudshell-user@ip-10-0-127-148 ~]$ gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser

! First copy your one-time code: EAFB-C602
- Press Enter to open github.com in your browser... 
! Failed opening a web browser at https://github.com/login/device
  exec: "xdg-open,x-www-browser,www-browser,wslview": executable file not found in $PATH
  Please try entering the URL in your browser manually
✓ Authentication complete. Press Enter to continue...

- gh config set -h github.com git_protocol https
✓ Configured git protocol
✓ Logged in as tuyendq
[cloudshell-user@ip-10-0-127-148 ~]$