-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install a later version of AWS CLI v1 #1027
Comments
hey there @paulca! agreed, we totally need to be installing a later version of the AWS cli. Somewhat related, i think that when we do the next major version bump of the elastic stack, we'll probably only install the AWS CLI v2. In re your specific issue, i thiiink the issue might be that we're using pip2 (😬) to install the AWS cli. I suspect that if we just switch to using pip3 in this case (and ideally scrub python 2 from the elastic stack entirely), we should get the latest v1 (1.25 at time of writing). |
Somewhat relevant to staying on awc-cli v1 until elastic stack v6: #670 (comment) |
We (Culture Amp) would love to this upgrade too. |
OK my workaround is to install a new version inside a virtualenv (avoiding extra work of using Docker) If I source the following script I get the latest version when I run
I'm still still confused about But that doesn't really matter, and it's probably better to opt-in only for steps which need it |
Following up on this issue:
Any chance we can get the AWS CLI upgraded to v2? |
Should this be closed? I saw it was fixed in #1131. |
Thanks for the catch @SoManyHs |
Is your feature request related to a problem? Please describe.
This is no longer a problem for me because I've since modified my pipeline to run the AWS CLI inside a Docker container, which is probably a much better way to do this anyway.
However, in case it helps anyone, there have been a number of updates to the AWS CLI, one in particular that broke our deploys because it was incompatible with an update to EKS. A later version of 1 would have worked. pip on Elastic Stack seems to install awscli 1.19, when the latest version on pypy is 1.24. I don’t know enough to know why it’s not installing the latest version.
Describe the solution you'd like
1.24 would have been totally fine.
Describe alternatives you've considered
Moving our deploy script inside a Docker container where we control the
awscli
version was a perfect solution for us, and in fact a much better solution overall because it meant that theawscli
was project specific, rather than stack specific.Additional context
It might be worth adding a note to the documentation recommending that folks actually run deploy scripts inside Docker containers if that's the preferred way of doing this.
The text was updated successfully, but these errors were encountered: