Comments (3)
The default cimg python version in the executor is
3.8-node
: https://github.com/CircleCI-Public/aws-cli-orb/blob/v1.3.1/src/executors/default.yml#L8Why?
Thanks 🙏
Hello @BeyondEvil, Node is not required but the node variant was originally selected to attempt to apply to more users/projects. Truth be told, the AWS cli orb doesn't actually need an executor at all and I'd be open to removing it in a future major update.
Originally, when the first iteration of the orb was designed, it was thought it may be a good idea to include a Docker image (executor) within which the AWS CLI could run (meaning python would be present), but a large portion or majority of users are actually running NodeJS projects (lambdas and such). The thinking here was for the majority of AWS users we might be able to provide them with a convenient executor that would have a high chance of working for the user.
Of course, the tag for the python image can be changed, or a different image can be used.
Would love to hear any thoughts/opinions about the executor on this orb.
from aws-cli-orb.
Hello @BeyondEvil, Node is not required but the node variant was originally selected to attempt to apply to more users/projects. Truth be told, the AWS cli orb doesn't actually need an executor at all and I'd be open to removing it in a future major update.
How would that work? You still need something (machine/docker) with python installed to be able to install the AWS CLI, right?
Originally, when the first iteration of the orb was designed, it was thought it may be a good idea to include a Docker image (executor) within which the AWS CLI could run (meaning python would be present), but a large portion or majority of users are actually running NodeJS projects (lambdas and such). The thinking here was for the majority of AWS users we might be able to provide them with a convenient executor that would have a high chance of working for the user.
Makes sense.
Of course, the tag for the python image can be changed, or a different image can be used.
True, I was just curious as to why the node-one was chosen as the default. 👍
Would love to hear any thoughts/opinions about the executor on this orb.
I prefer to keep things as simple and lean as possible providing as much flexibility as possible, and not force decisions on users (which I don't think the case is here).
from aws-cli-orb.
How would that work? You still need something (machine/docker) with python installed to be able to install the AWS CLI, right?
AWS CLI V2 now handles all of this internally with venv so you no longer need a python environment if you are using the latest AWS CLI.
from aws-cli-orb.
Related Issues (20)
- aws-cli/setup does not work on a Windows executor HOT 1
- Use orb 3.4.1 install command with parameters override-installed: true and/or version: latest HOT 1
- "File not found" issue on Alpine Linux
- aws-cli/setup is failing on container agent HOT 1
- Node missing in v4.0.0 HOT 6
- aws-cli/assume-role-with-web-identity sometimes fails HOT 10
- Why is aws-cli/setup always using AWS_SESSION_TOKEN to setup profile HOT 3
- aws-cli/setup fails on alpine HOT 3
- Unable To Push Branch To Repository for Pull Request HOT 1
- request for new release that includes fix for Alpine Linux HOT 1
- Error: unknown command "env" for "circleci" HOT 1
- 4.1.0 includes breaking changes from 4.0.0 HOT 2
- When using on a Windows executor, versions are ignored HOT 1
- AWS profile is not available when using `assume_role_with_web_identity` HOT 1
- aws-cli orb 4.x broken on Server 4.x HOT 2
- CIRCLE_OIDC_TOKEN_V2 and CIRCLE_OIDC_TOKEN are not present on Server 4.x HOT 1
- 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)
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.