Skip to content

Installation

byt3bl33d3r edited this page Feb 7, 2018 · 3 revisions

Installation

Red Baron only supports Terraform version 0.10.0 or newer and will only work on Linux x64 systems.

  1. Clone the repository and cd into the directory:

#~ git clone https://github.com/Coalfire-Research/Red-Baron && cd Red-Baron

  1. Create environment variables with the appropriate API Keys
#~ export AWS_ACCESS_KEY_ID="accesskey"
#~ export AWS_SECRET_ACCESS_KEY="secretkey"
#~ export AWS_DEFAULT_REGION="us-east-1"
#~ export LINODE_API_KEY="apikey"
#~ export GODADDY_API_KEY="gdkey"
#~ export GODADDY_API_SECRET="gdsecret"
  1. Copy an infrastructure configuration file from the examples folder to the root directory and modify it to your needs

#~ cp examples/complete_c2.tf .

  1. Initialize terraform plugins, make sure everything looks ok, finally create the infrastructure
#~ terraform init
#~ terraform plan
#~ terraform apply