Comments (9)
Same as here. add this to your steps
- run:
name: "Install missing library on awscli"
command: sudo apt-get install -y libpython-dev
from aws-cli-orb.
๐ With the need for this extra step, it's just as simple to install the cli manually from pip ๐
from aws-cli-orb.
I noticed the base image is in now based on Python indeed, and was able to use the orb @1.0.0 without requiring to install python myself.
I guess this issue can be closed :)
from aws-cli-orb.
Agree, having to install another package defeats the purpose of using the aws-cli orb...
Anyways, IMHO (as well as to others), having to install the cli on each job feels like a completely waste of time.
from aws-cli-orb.
Python & pip need to be installed to use the install
command of this orb.
If you want to have the aws cli pre-installed in an image, there's three options that come to mind.
- Pre-install it in your own image.
- Use the executor/image that comes along with this orb.
- Use the
cibuilds/aws
image.
As for this specific issue, I'm not sure exactly how we'd want to solve it yet. If the logic ends up the same, better, upfront error handling might the solution here.
from aws-cli-orb.
"Pre-install it in your own image."
We really do not want to maintain our own images, we have a lot of projects and almost all of them need a different one. Until now your official images have worked like a charm, with the only inconvenient of having to install the aws cli on almost all of them.
But, having to maintain a lot of images just for the cli does not seems like a good idea, we would end with a CD for our CD lol.
"Use the executor/image that comes along with this orb."
For steps that only require the cli, this is what we do.
But, sometime we require the cli for intermediate steps. So installing the cli over other image, seems like a better idea than persist to workspace, switch image, do other things, persist again, return to main image. (or are we wrong?)
"Use the cibuilds/aws image."
Cool, but probably we will stick to option 2.
Being honest, we would love if your images would come with the cli pre-installed, or having another set of images which does (like circleci/node-aws:10-stretch
or circleci/openjdk:8-jdk-stretch-aws
).
But, we understand that would mean more work and things to worry about for you guys.
BTW, do not get me wrong, I personally love CircleCI and am very grateful to your excellent work, just wanted to share my thoughts about that topic. ๐
from aws-cli-orb.
When will we have @0.1.14
solving that?
from aws-cli-orb.
doesn't seem too hard to do a quick check if python/pip are installed & if not, install themโfeel free to submit a PR @mt-sergio @BalmungSan @lielran @autopulated
from aws-cli-orb.
but really, we should provide a 1st-party circleci/python
orb so it's easier & faster for anyone to install python/pipโthat's my preferred solution
from aws-cli-orb.
Related Issues (20)
- Provide a way for `assume_role_with_web_identity` to not set `AWS_*` environment variables in `BASH_ENV` HOT 4
- `install` on older windows images fails when `override_installed: true` HOT 6
- 'role_arn' IS a required argument when calling 'aws-cli/setup' HOT 2
- circleci/[email protected] fails on aws-cli/setup - Error relocating /usr/bin/curl (alpine)
- Generate shortlived AWS Keys using CircleCI OIDC token fails
- Grep statement in install.sh (Windows) can cause wrong path to be added HOT 1
- 'disable_aws_pager' argument ignored if AWS CLI is already installed
- Enhance Installation Flow for Existing CLI Versions
- multiple calls to setup don't use newest role
- Broken AWS Credentials after #164 (4.1.2) HOT 8
- The documentation on aws sts assume-role is incorrect / not working in real world scenarios HOT 2
- Incorrect Version Check in Installation Script (install.sh) when using 'latest'
- Extra hyphen at the end of role_session_name
- upgrade glibc from 2.34-r0 to 2.35-r1 to resolve nsswitch cannot be overwrriten issue
- /tmp/default.keys: No such file or directory HOT 3
- OICD AWS Provider - Old AWS orb version not consistent with > 4.0 version causing issues with AWS Credentials configuration
- `setup` command fails with OIDC role while `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` are set in the environment HOT 1
- Unable to use a dynamic `role_arn` with `assume_role_with_web_identity` command HOT 1
- Permission Denied for $BASH_ENV in v4.1.3
- setup not creating fully up to date credentials file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cli-orb.