No description
  • Shell 80.2%
  • HCL 19.8%
Find a file
oss-core-libraries-dashboard[bot] 9c3857d257
[COMPLIANCE] Update Copyright and License Headers (#49)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2026-02-20 15:30:30 +05:30
.github/workflows Result of tsccr-helper -pin-all-workflows . 2023-04-03 16:47:19 +01:00
scripts [COMPLIANCE] Update Copyright and License Headers (#49) 2026-02-20 15:30:30 +05:30
.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!