Skip to content

Simple build for the awscli util as a replacement for a local installation of the utility

License

Notifications You must be signed in to change notification settings

luzifer-docker/awscli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luzifer / awscli

This repository contains a simple build for the awscli util as a replacement for a local installation of the utility.

Usage

$ docker run --rm -ti \
    -v "${HOME}/.aws:/root/.aws" \
    -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" \
    -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" \
    -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" \
    quay.io/luzifer/awscli help

Or you could create a shell alias for that command and use it like a local installation of awscli:

$ alias aws='docker run --rm -ti -v "${HOME}/.aws:/root/.aws" -e "AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}" -e "AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}" -e "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" quay.io/luzifer/awscli'
$ aws help

About

Simple build for the awscli util as a replacement for a local installation of the utility

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published