Infrastructure configuration for Embark site
https://embarklabs.io/
Jakub Sokołowski
1351365f25
Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
modules/cloud-flare-rules | ||
.gitignore | ||
README.md | ||
blog.tf | ||
ens.tf | ||
framework.tf | ||
main.tf | ||
redirects.tf | ||
site.tf | ||
subspace.tf | ||
terraform.tfstate | ||
variables.tf |
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.