Skip to content

Conversation

@clayrosenthal
Copy link

@clayrosenthal clayrosenthal commented Feb 21, 2025

Adding support for awscliv2, toggled by env var AWS_CLI being set to v2 or 2

Taking a crack, as #31 is stale.

Testing:

$ docker run --rm  -it localhost/alpine/k8s:1.31.6 aws --version             
aws-cli/1.37.25 Python/3.12.9 Linux/6.11.3-200.fc40.aarch64 botocore/1.36.25
$ docker run --rm -e AWS_CLI=v1 localhost/alpine/k8s:1.31.6 aws --version
aws-cli/1.37.25 Python/3.12.9 Linux/6.11.3-200.fc40.aarch64 botocore/1.36.25
$ docker run --rm -e AWS_CLI=v2 -it localhost/alpine/k8s:1.31.6 aws --version
aws-cli/2.22.10 Python/3.12.9 Linux/6.11.3-200.fc40.aarch64 source/aarch64.alpine.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant