question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Leapp doesn't detect AWS CLI in newer homebrew locations

See original GitHub issue

Describe the bug

Leapp seems to only search for the AWS CLI in /usrl/local/bin.

Leapp Version 0.11.0

To Reproduce Steps to reproduce the behavior:

  1. Obtain a new M1 Mac 😃
  2. Install Homebrew
  3. Install AWS CLI va Homebrew (brew install awscli)
  4. Install Leapp
  5. Launch Leapp

Expected behavior

Leapp should detect alternative locations of the AWS CLI or allow me to configure the location. The new homebrew path is /opt/homebrew/bin. Although, it’s probably best for Leapp to search PATH for the command.

Screenshots Screen Shot 2022-04-15 at 17 53 50

Desktop (please complete the following information):

  • macOS 12.3.1
  • Leapp 0.11.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:11
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
josemiguelcommented, May 15, 2022

just create a soft link

sudo ln -s /opt/homebrew/bin/aws /usr/local/bin/aws

and don’t forget to install the Session Manager too

2reactions
nitrocodecommented, Aug 8, 2022

Thanks @josemiguel. I did the following and it worked for me.

sudo ln -s /opt/homebrew/bin/aws /usr/local/bin/aws
sudo ln -s /opt/homebrew/bin/session-manager-plugin /usr/local/bin/session-manager-plugin
Read more comments on GitHub >

github_iconTop Results From Across the Web

(Optional) Install the Session Manager plugin for the AWS ...
The command returns results only if the plugin is located in the default installation directory for your operating system type.
Read more >
Install, Update, and Uninstall the AWS CLI version 1 on ...
The following steps enable you to install the AWS CLI version 1 from the command line on any build of macOS. The following...
Read more >
Troubleshooting AWS CLI errors
Command not found errors ... This error means that the operating system can't find the AWS CLI command. The installation might be incomplete...
Read more >
Uninstalling the AWS CLI version 2
Linux · Find the folder that contains the symlinks to the main program and the completer. $ which aws · Using that information,...
Read more >
Installing past releases of the AWS CLI version 2
Install past releases of the AWS Command Line Interface version 2 (AWS CLI version 2) ... For information on the AWS CLI version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found