echoboomer / terraform-buildkite-plugin Goto Github PK
View Code? Open in Web Editor NEWA Buildkite plugin for executing Terraform in a pipeline.
License: Apache License 2.0
A Buildkite plugin for executing Terraform in a pipeline.
License: Apache License 2.0
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
The plugin requires Terraform files to be located in the project root. Would it be useful to let it run against other locations?
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.