Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

benchttp/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

infra

This repository holds the code for our infrastructure and GitHub repositories.

Repository structure

Each infrastructure block is defined in a directory with Terraform modules.

Inside you will find:

  • the entry point inside main.tf
  • the expected variables to configure the infrastructure inside variables.tf
  • an example of the actual variables definition inside terraform.tfvars.example

Usage

Set up your local environment

Move to the directory of the desired block:

cd block

Rename copy terraform.tfvars.example to terraform.tfvars and replace its values with the correct ones.

cp terraform.tfvars.example terraform.tfvars

By using your own environment, you can deploy an exact copy of the solution as your own. To work with Benchttp original solution, reach one of the repository owners.

Deploy the infrastructure

Note: the following instructions expect your current direcorty is the directory matching the desired block.

Initialize Terraform if not done already:

terraform init

Plan the infrastructure without actually making any real world changes (i.e. a dry run):

terraform plan

Apply the infrastructure and introduce changes to the currently deployed system:

terraform apply

Refer to the Terraform docs for further documentation.

About

Infrastructure code for benchttp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages