No description
  • Shell 79.9%
  • HCL 20.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brandon Croft edd69a7979
Remove trial information from setup script
Removed information about the 30-day free trial of the Team & Governance tier features.
2026-05-07 10:10:08 -06:00
.github/workflows Result of tsccr-helper -pin-all-workflows . 2023-04-03 16:47:19 +01:00
scripts Remove trial information from setup script 2026-05-07 10:10:08 -06:00
.copywrite.hcl Add copywrite headers and GH Action 2023-01-27 13:26:42 -06:00
.gitignore Initial commit 2021-01-21 10:29:55 -06:00
backend.tf [COMPLIANCE] Update Copyright and License Headers (#49) 2026-02-20 15:30:30 +05:30
LICENSE [COMPLIANCE] Update Copyright and License Headers (#49) 2026-02-20 15:30:30 +05:30
main.tf [COMPLIANCE] Update Copyright and License Headers (#49) 2026-02-20 15:30:30 +05:30
provider.tf [COMPLIANCE] Update Copyright and License Headers (#49) 2026-02-20 15:30:30 +05:30
README.md Replace references to TFC & Terraform Cloud to HCP Terraform 2024-04-22 11:18:33 -04:00

HCP Terraform Getting Started

In this repo, you'll find a quick and easy path to get started using HCP Terraform with the Terraform CLI.

What's here?

This repo contains two main things:

  1. An example Terraform configuration which provisions some mock infrastructure to a fictitious cloud provider called "Fake Web Services" using the fakewebservices provider.
  2. A script which automatically handles all the setup required to start using Terraform with HCP Terraform.

Requirements

  • Terraform 0.14 or higher
  • The ability to run a bash script in your terminal
  • sed
  • curl
  • jq

Usage

1. Log in to HCP Terraform via the CLI

Run terraform login and follow the prompts to get an API token for Terraform to use. If you don't have a HCP Terraform account, you can create one during this step.

2. Clone this repo

git clone https://github.com/hashicorp/tfc-getting-started.git
cd tfc-getting-started

3. Run the setup script and follow the prompts

./scripts/setup.sh

Welcome to HCP Terraform!