Skip to content
Drone plugin for triggering Terraform deployments
Go Shell Dockerfile Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore chore: ignore some more files Oct 18, 2019
.drone.yml Version bump golang 1.9 Feb 14, 2018
.gitignore Updated gitignore to respect also coverage.out Feb 24, 2016
CHANGELOG.md version: 6.1-0.12.11 Oct 18, 2019
DOCS.md Merge pull request #94 from caioquirino/parallel_execution Sep 6, 2019
Dockerfile chore: update to golang 1.13 Sep 6, 2019
LICENSE Initial commit. Jan 26, 2016
MAINTAINERS Added initial maintainers file Feb 24, 2016
Makefile Make the builds reproducable based on commit sha Feb 24, 2016
README.md
build-docker.sh version: 6.1-0.12.11 Oct 18, 2019
go.mod chore: convert to go module Feb 22, 2019
go.sum chore: convert to go module Feb 22, 2019
logo.svg Initial commit. Jan 26, 2016
main.go Updated DOCS to have the new tf_data_dir param Jul 22, 2019
plugin.go Changed implementation to make the code simpler by setting the env var Aug 14, 2019
plugin_test.go Changed implementation to make the code simpler by setting the env var Aug 14, 2019
terraform.go Describe some public struct and func Jul 31, 2018

README.md

drone-terraform

Build Status

Drone plugin to execute Terraform plan and apply. 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 jmccann/drone-terraform \
  --build-arg terraform_version=0.12.0 .

Usage

Execute from the working directory:

docker run --rm \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  jmccann/drone-terraform:latest --plan

Drone 0.4

Legacy drone-terraform plugin exists @ jmccann/drone-terraform:0.4

You can’t perform that action at this time.