Skip to content

Terraform Cloud starter workflows and github actions to automate Terraform Cloud CI/CD pipelines.

License

Notifications You must be signed in to change notification settings

juicybaba/tfc-workflows-github

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Cloud Workflows for GitHub

This repo includes prescriptive workflows that implement best practices when interacting with Terraform Cloud. These starter workflow templates provide a entrypoint to integrate your CI/CD pipelines with Terraform Cloud.

Related Projects

About

These templates use individual custom Docker GitHub Actions that interact with Terraform Cloud API's rather than the traditional Terraform CLI.

The core tooling is a containerized go application, designed to work with GitHub Actions, GitLab Pipelines, and more in the future.

Starter Workflow Templates

Getting Started

See workflow/README.md

GitHub Actions

See actions/README.md

Supported Actions:

  • upload-configuration: Creates and uploads configuration files for a given Terraform Cloud workspace.
  • create-run: Performs a new plan run in Terraform Cloud, using a configuration version and the workspace’s current variables.
  • apply-run: Applies a run that is paused waiting for confirmation after a plan.
  • discard-run: Skips any remaining work on runs that are paused waiting for confirmation or priority.
  • cancel-run: Interrupts a run that is currently planning or applying.
  • show-run: Returns run details for the corresponding Run ID.
  • plan-output: Returns the plan details for the provided Plan ID.

Contributing Guideline

See docs/CONTRIBUTING.md

License

Mozilla Public License v2.0

About

Terraform Cloud starter workflows and github actions to automate Terraform Cloud CI/CD pipelines.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%