Infrastructure configuration for Embark site https://embarklabs.io/
Go to file
Jakub Sokołowski 1351365f25
add framework and embark subdomains
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-20 13:02:47 +01:00
modules/cloud-flare-rules add cloud-flare-rules module for redirects 2019-12-09 16:58:02 +01:00
.gitignore temporarily commit terraform state 2020-01-17 23:58:51 +01:00
README.md update readme with TODO note 2020-01-18 00:29:35 +01:00
blog.tf update main domain (#2) 2020-01-17 18:18:49 -05:00
ens.tf rename dns_records to be ens_magic 2020-01-07 22:58:53 +01:00
framework.tf add framework and embark subdomains 2020-01-20 13:02:47 +01:00
main.tf add account_id as required for CloudFlare provider 2020-01-07 23:07:09 +01:00
redirects.tf force SSL for all embarklabs.io subdomains 2020-01-20 13:02:14 +01:00
site.tf force SSL for all embarklabs.io subdomains 2020-01-20 13:02:14 +01:00
subspace.tf add subspace subdomain (#1) 2020-01-17 17:43:18 -05:00
terraform.tfstate force SSL for all embarklabs.io subdomains 2020-01-20 13:02:14 +01:00
variables.tf add account_id as required for CloudFlare provider 2020-01-07 23:07:09 +01:00

README.md

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   = "some@email.com"

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.