Coder Social home page Coder Social logo

echoboomer / terraform-buildkite-plugin Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 9.0 58 KB

A Buildkite plugin for executing Terraform in a pipeline.

License: Apache License 2.0

Shell 98.12% HCL 0.19% Dockerfile 1.69%
buildkite buildkite-plugin docker terraform

terraform-buildkite-plugin's People

Contributors

echoboomer avatar esalter avatar jkburges avatar mpestritto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

terraform-buildkite-plugin's Issues

[PROBLEM] apply_only = true then TF_DIFF is unbound

If you use a stock example and set apply_only: true, the script fails because TF_DIFF is not Bound.

Success! The configuration is valid.
--
  |  
  | /var/lib/buildkite-agent/plugins/github-com-mpestritto-terraform-buildkite-plugin-master/hooks/command: line 195: TF_DIFF: unbound variable
  | 🚨 Error: The command exited with status 1

[FEATURE REQUEST] Private registry auth for custom images.

Is your feature request related to an existing problem with the plugin? Please describe.
Do we handle this in the plugin or depend on a different plugin or another process to make private images available to agents?

Describe the solution you'd like.
Perhaps allow simple passing of private Docker registry auth data to the plugin.

Additional context
Add any other context or screenshots about the feature request here.

Support images with entrypoints other than terraform

Right now, this plugin allows custom docker images to be used. However, it assumes that the entrypoint for the docker image will be terraform. This prevents people from using images that were baked with an entrypoint set to anything else.

People who use the local-exec feature in terraform may want to use docker images with dependencies installed that are used in their scripts. Therefore, I propose we ensure the entrypoint is properly set to terraform when we run the docker command.

As an alternative, if you'd like a more general solution, we could allow people to add arbitrary flags to the docker command. This is more powerful and flexible but might not always behave as expected.

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.