mirror of
https://github.com/hashicorp/tfc-getting-started
synced 2026-04-05 18:59:11 +00:00
No description
- Shell 80.2%
- HCL 19.8%
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> |
||
|---|---|---|
| .github/workflows | ||
| scripts | ||
| .copywrite.hcl | ||
| .gitignore | ||
| backend.tf | ||
| LICENSE | ||
| main.tf | ||
| provider.tf | ||
| README.md | ||
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:
- An example Terraform configuration which provisions some mock infrastructure to a fictitious cloud provider called "Fake Web Services" using the
fakewebservicesprovider. - A script which automatically handles all the setup required to start using Terraform with HCP Terraform.
Requirements
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!