Skip to content

sync0n/templating-via-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

886bcb5 · Nov 5, 2020

History

1 Commit
Nov 5, 2020
Nov 5, 2020
Nov 5, 2020
Nov 5, 2020

Repository files navigation

gh-actions-template-terraform

A starter template for terraform projects with GitHub Actions CI orientated workflow.

Usage

  • click on the Use this template button for this repo
  • fill out the new project details
  • git clone your new GitHub project
  • cd to the project's directory
  • add your terraform scripts to the project
  • update this README.md to reflect your own project's awesomeness!

Why

Continuous Integration (CI) is a way to mitigate potential problems arising from changes to code, dependencies or even version changes to the programming language that powers your awesome project.

By continuously building and testing your code as changes arrive, you can have confidence that the code you merge won't break your project.</soapbox>

Setting up continuous integration pipeline for your projects can be tricky, but using GitHub Actions can make this incredibly easy and not require 3rd party services like Travis CI or Circle CI.

What's in the box

  • A CI workflow that runs the following terraform commands: fmt, init, and validate. All of these actions are configurable, and documentation can be found here.

What's not in the box

  • A Continuous Delivery (CD) pipeline to run the plan and apply commands. These commands will require additional configuration (cloud vendor secrets) to work and have no place in a template.

Changelog

  • 2020-04-26 - Update to reflect change in GitHub Action usage
  • 2019-09-28 - Initial release

License

See LICENSE.

Copyright

Mark Sta Ana © 2020

Releases

No releases published

Packages

No packages published