Skip to content

nautsio/dockerfile-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Terraform Docker image with extra providers included

This Terraform image is built directly on the upstream Hashicorp Terraform image and adds the following providers:

How to use

Add the following shell script as an executable script to your PATH or add it as a function to your shell:

#!/usr/bin/env sh

VERSION="<choose your version>"
IMAGE="docker.tntdigital.io/tnt/terraform:${VERSION}"

docker run --rm -ti -e TF_LOG -e TF_MODULE_DEPTH -e AWS_DEFAULT_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e CLOUDFLARE_EMAIL -e CLOUDFLARE_TOKEN $(env | awk '/TF_VAR/ {printf "-e " $0 " "}') -v "${HOME}":"${HOME}" -w "${PWD}" "${IMAGE}" "${@}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published