Shell MPL-2.0

tfc-getting-started

An example Terraform configuration for HCP Terraform

H

hashicorp

Dernière activité 11 mai 2026
hashicorp/tfc-getting-started

176

étoiles

257

forks

1

issues ouvertes

Ce README est souvent en anglais.

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!

Projets similaires

Example usage of HashiCorp Terraform

HCL
Hhashicorp
1,5 k étoiles1,3 k

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

HCL
Hhashicorp
178 étoiles29

End-to-end modular samples and landing zones toolkit for Terraform on GCP.

HCLgcpgoogle-cloudterraform
GGoogleCloudPlatform
2,1 k étoiles1,3 k