No description
Find a file
Paul Anunda 3d81652e47
Merge pull request #2990 from hashicorp/compliance/update-headers
[IND-4227] [COMPLIANCE] Update Copyright Headers
2026-01-06 11:10:47 -05:00
.github [Compliance] - PR Template Changes Required (#2988) 2025-09-10 14:34:55 -04:00
actions [COMPLIANCE] Update Copyright and License Headers 2025-12-09 11:06:21 +00:00
docs docs: add releases doc (#35) 2024-01-26 16:56:06 -08:00
workflow-templates Prepare v1.3.2 release (#2981) 2024-12-04 10:50:39 -08:00
.copywrite.hcl Add *.properties.json files and mv templates to ./workflow-templates dir (#16) 2023-07-26 16:10:14 -07:00
.gitignore Initial commit 2023-05-02 21:00:19 -07:00
CHANGELOG.md Prepare v1.3.2 release (#2981) 2024-12-04 10:50:39 -08:00
CODEOWNERS Update CODEOWNERS 2023-05-11 13:11:18 -04:00
LICENSE [COMPLIANCE] Update Copyright and License Headers 2025-12-09 11:06:21 +00:00
README.md Correct links to starter workflow templates 2024-07-02 14:15:34 +01:00

HCP Terraform Workflows for GitHub

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

About

These templates use individual custom Docker GitHub Actions that interact with HCP Terraform 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 HCP Terraform workspace.
  • create-run: Performs a new plan run in HCP Terraform, using a configuration version and the workspaces 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