In this repo, you'll find a quick and easy path to get started using HCP Terraform with the Terraform CLI.
This repo contains two main things:
- An example Terraform configuration which provisions some mock infrastructure to a fictitious cloud provider called "Fake Web Services" using the
fakewebservices
provider. - A script which automatically handles all the setup required to start using Terraform with HCP Terraform.
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.
git clone https://github.com/hashicorp/tfc-getting-started.git
cd tfc-getting-started
./scripts/setup.sh
Welcome to HCP Terraform!