Skip to content

aanari/terraform-aws-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Build Status Docker Pulls

Terraform and AWS CLI Docker image

πŸ“¦ Supported tags and respective Dockerfile links

Repository available on Docker Hub: zenika/terraform-aws-cli

⚠️ Alpine build support is deprecated, new versions will only be debian based.

πŸ’‘ Motivation

The goal is to create a minimalist and lightweight image with these tools in order to reduce network and storage impact.

This image gives you the flexibility to be used for development or as a base image as you see fits.

πŸ”§ What's inside ?

Tools included:

πŸš€ Usage

Launch the CLI

Simply launch the container and use the CLI as you would on any other platform, for instance using the latest image:

docker container run -it --rm -v ${PWD}:/workspace zenika/terraform-aws-cli:latest

The --rm flag will completely destroy the container and its data on exit.

Build the image

You can build the image locally directly from the Dockerfiles :

docker image build -t zenika/terraform-aws-cli:dev .

Optionally, it is possible to choose the tools desired versions using Docker builds arguments :

# Set tools desired versions
AWS_CLI_VERSION=1.16.313
TERRAFORM_VERSION=0.12.19

# Build the image:
docker image build --build-arg AWS_CLI_VERSION=$AWS_CLI_VERSION --build-arg TERRAFORM_VERSION=$TERRAFORM_VERSION -t zenika/terraform-aws-cli:dev .

πŸ™ Contributions

Do not hesitate to contribute by filling an issue or a PR !

πŸ“– License

This project is under the Apache License 2.0

About

Minimal & lightweight docker image including AWS and Terraform CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%