Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
/ docker-aws Public archive

Docker image containing AWS CLI, AWS Shell, and some scripts to ease AWS deployments

Notifications You must be signed in to change notification settings

amaysim-au/docker-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amaysim/aws

Docker image containing AWS CLI, AWS Shell, and some scripts to ease AWS deployments.

Usage

Build Locally

If you want to build and use your own local image

# build image locally
$ make build
# go inside the container
$ make shell

Environment Variables

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
AWS_ACCOUNT_ID=

# Cloudformation stack name to be created/updated/deleted
STACK_NAME=
# the cloudformation file path
CFN_FILE=
# the cloudformation params file
CFN_PARAMS_FILE=

Update Docker image

  1. Change (or not) VERSION in Makefile
  2. Build and test locally
  3. Commit and push the changes
  4. Tag the commit with the command make gitTag
  5. Go to hub.docker.com
  6. In Build Details tab, you should now see the new tag kicking off

Docker image

The Docker image has the following:

  • Alpine
  • aws-cli
  • aws-shell
  • envsubst: quite useful to create file based on a template using env vars

Scripts

Some scripts has been written to help deploying to AWS (see example)

Name Description
cfn-create-or-update.sh Create or update a cloudformation
cfn-delete.sh Delete a cloudformation
cfn-validate-template.sh Validate a cloudformation template

About

Docker image containing AWS CLI, AWS Shell, and some scripts to ease AWS deployments

Resources

Stars

Watchers

Forks

Packages

No packages published