GitHunt
RO

robertstettner/drone-tf-outputs-to-env

drone-tf-outputs-to-env

Build Status

Drone plugin to execute Terraform output and write to an envfile. For the usage information and
a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

export GO111MODULE=on
go mod download
go test
go build

Docker

Build the docker image with the following commands:

docker build --rm=true \
  -t robertstettner/drone-tf-outputs-to-env \
  --build-arg terraform_version=0.12.0 .

Usage

Execute from the working directory:

docker run --rm \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  robertstettner/drone-tf-outputs-to-env:latest --plan

Languages

Go91.4%Dockerfile7.2%Shell1.5%
Apache License 2.0
Created November 4, 2019
Updated July 3, 2020