HUB
Sign inSign up
terraform-aws-agent logo

mindera/terraform-aws-agent

By mindera

•Updated about 6 years ago

Docker image with terraform and aws combined. Some extra tools installed: SOPS

Image
0

1.7K

mindera/terraform-aws-agent repository overview

⁠Terraform aws Agent

A docker image intented to be used as a CI/CD Agent with terraform and aws installed. Additionally the following tools are also installed:

  • SOPS
  • WGET
  • UNZIP

⁠What is terraform?

Terraform enables you to safely and predictably create, change, and improve infrastructure. See more at https://www.terraform.io/intro/index.html⁠

⁠What is sops?

sops is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault and PGP. See more at https://github.com/mozilla/sops⁠

Overview of sops⁠

⁠TL;DR;

$ docker run --rm -ti mindera/terraform-aws-agent
$ docker run --rm -ti -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -v $PWD:/workspace -w /workspace mindera/terraform-aws-agent

⁠tags

The major version will be bumped up whenever any of the dependencies major versions is updated. The minor version will be bumped up whenever any of the dependencies mnior versions is updated. The patch version will be bumped up whenever any of the dependencies patch versions is updated.

Currently version 1 supports: terraform 0.12 aws 2.0 sops 3.6

Subscribe to project updates by watching the mindera/terraform-aws-agent GitHub repo⁠.

⁠Get this image

The recommended way to get the Mindera sops Docker Image is to pull the prebuilt image from the Docker Hub Registry⁠.

$ docker pull mindera/terraform-aws-agent:latest

To use a specific version, you can pull a versioned tag. You can view the list of available versions⁠ in the Docker Hub Registry.

$ docker pull mindera/terraform-aws-agent:[TAG]

Tags follow the pattern terraform-<TF_VERSION>-sops-<SOPS_VERSION> where <TF_VERSION> represents the terraform version and <SOPS_VERSION> represent the sops version.

If you wish, you can also build the image yourself.

$ docker build -t mindera/terraform-aws-agent:latest 'https://github.com/mindera/docker-terraform-aws-agent.git#master'

⁠Configuration

⁠Running commands

To run commands inside this container you can use docker run, for example to execute sops --version you can follow the example below:

$ docker run --rm --name sops mindera/terraform-aws-agent:latest -- sops --version

Consult the terraform Documentation⁠ or the sops Documentation⁠ to find the completed list of commands available.

⁠Contributing

We'd love for you to contribute to this container. You can request new features by creating an issue⁠, or submit a pull request⁠ with your contribution.

⁠Issues

If you encountered a problem running this container, you can file an issue⁠. For us to provide better support, be sure to include the following information in your issue:

  • Host OS and version
  • Docker version (docker version)
  • Output of docker info
  • Version of this container
  • The command you used to run the container, and any relevant output you saw (masking any sensitive information)

⁠License

Copyright (c) 2019 Mindera. All rights reserved.

This work is licensed under the terms of the MIT license.
For a copy, see https://opensource.org/licenses/MIT⁠.

Tag summary

Content type

Image

Digest

Size

152.3 MB

Last updated

about 6 years ago

docker pull mindera/terraform-aws-agent