Skip to content
example Terraform source for managing the example-service repository
HCL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.gitignore
README.md
main.tf

README.md

sysadventco terraform example

This is an extremely contrived example repository showing a Terraform-based workflow for managing GitHub repositories. It's built in support of a SysAdvent 2019 blog entry.

The example code here is not meant to provide any sort of recommended practices, it's simply supposed to be an example of how to use a workflow for managing non-infrastructure resources that mirrors what we often use for Infrastructure as Code workflows.

This example is using both Terraform Cloud and GitHub actions to do plans on pull requests. This is sort of duplicate effort, but GitHub Actions are used just to be able to display the terraform plan output directly in the PR. As of this writing, I don't believe Terraform Cloud offers this functionality.

You can’t perform that action at this time.