Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 748 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 748 Bytes

Description

This repo manages Embark Labs domains and other site related infrastructure.

Configuration

In order to use this Terraform setup you will need to provide it with CloudFlare credentials. The simplest way to do that is by creating a terraform.tfvars file:

cloudflare_token   = "my_secret_api_token"
cloudflare_account = "my_account_id"
cloudflare_email   = "[email protected]"

Usage

Before you start using the configuration you have to load Terraform modules, which you can do with:

terraform init

Then you can apply the setup in this repo using:

terraform apply

TODO

Need to move terraform.tfstate somewhere else. While it's just DNS records there's no harm, just makes Git diffs ugly.