Our great sponsors
-
terraform-with-comments
Discontinued Archived: Reusable workflow to interface Terraform CLI with PR comments via GitHub Actions CI/CD.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
*Terraform with Comments — Reusable Workflow.
I wrote a custom script to parse PR comments as input commands to interface with Terraform CLI, returning the output as bot comments. Each step of the workflow relies on GitHub Actions, including actions/github-script to interact with GitHub's API (while brushing up on my JavaScript!).
I was inspired by Atlantis's approach to Terraform PR automation. However, I wanted to avoid the overhead of self-hosting and securing a VM for each project. Instead, I preferred to re-use our CI/CD platform as it is scalable and compatible with various repositories, lowering the barrier to entry.