Skip to content

sfran69269/terraform-github-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFC Getting Started

In this repo, you'll find a quick and easy path to get started using Terraform Cloud 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 Terraform Cloud.

Requirements

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

Usage

1. Log in to Terraform Cloud 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 Terraform Cloud 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 Terraform Cloud!

About

Example repo for the amazing Mastering GitHub O’Reilly video training series

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 72.9%
  • HCL 16.7%
  • HTML 10.4%