Coder Social home page Coder Social logo

www3838438 / drone-terraform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmccann/drone-terraform

0.0 2.0 0.0 1.84 MB

Drone plugin for triggering Terraform deployments

Home Page: http://plugins.drone.io/jmccann/terraform/

License: Apache License 2.0

Makefile 4.20% Go 95.80%

drone-terraform's Introduction

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:

go build
go test

Docker

Build the docker image with the following commands:

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo
docker build --rm=true -t jmccann/drone-terraform .

Please note incorrectly building the image for the correct x64 linux and with GCO disabled will result in an error when running the Docker image:

docker: Error response from daemon: Container command
'/bin/drone-terraform' not found or does not exist.

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

drone-terraform's People

Contributors

jmccann avatar tboerger avatar johnrengelman avatar msuterski avatar jackspirou avatar edwinavalos avatar jrynyt avatar bradrydzewski avatar kzaitsev avatar calind avatar jeffastorey avatar josmo avatar

Watchers

 avatar 长毛是狗 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.