helm icon indicating copy to clipboard operation
helm copied to clipboard

No module 'awscli' when deploying to EKS

Open hardishw opened this issue 4 years ago • 4 comments

Getting the error below even on repos where configuration hasn't changed.

Traceback (most recent call last): File "/usr/bin/aws", line 19, in <module> import awscli.clidriver ModuleNotFoundError: No module named 'awscli'

hardishw avatar Apr 12 '21 10:04 hardishw

https://github.com/deliverybot/helm/pull/55 looks like there is a PR to fix this

hardishw avatar Apr 13 '21 09:04 hardishw

any chance to release this fix?

alexey-nextreason avatar Aug 11 '21 17:08 alexey-nextreason

Still experiencing this -- is there a workaround?

NathanielWroblewski avatar Jan 18 '22 15:01 NathanielWroblewski

It looks like this may be caused by setting alpine 3.10 in the dockerfile and installing the aws-cli from edge.

If bumping to alpine:3.15 there's an aws-cli available, where for 3.10 there is not. Setting the repository to v3.15, e.g. http://dl-3.alpinelinux.org/alpine/v3.15/community/ will likely bypass the issues caused by installing from edge.

NathanielWroblewski avatar Jan 18 '22 18:01 NathanielWroblewski