Skip to content

gopad/gopad-infra

Repository files navigation

Gopad: Infra

General Workflow Join the Matrix chat at https://matrix.to/#/#gopad:matrix.org Codacy Badge

This repository defines the infrastructure used by this project, including setup of subdomains and S3 buckets.

Development

Variables

cat << EOF >| .envrc
use flake . --impure

export GITHUB_TOKEN=$(gopass --password gopad/github/gopadz)

export CLOUDFLARE_EMAIL=$(gopass --password gopad/cloudflare/email)
export CLOUDFLARE_API_KEY=$(gopass --password gopad/cloudflare/apikey)

export AWS_ACCESS_KEY_ID=$(gopass --password gopad/infra/access-key)
export AWS_SECRET_ACCESS_KEY=$(gopass --password gopad/infra/secret-key)
EOF

Deployment

bin/terraform init
bin/terraform plan
bin/terraform apply

Security

If you find a security issue please contact gopad@webhippie.de first.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

Apache-2.0

Copyright

Copyright (c) 2018 Thomas Boerger <thomas@webhippie.de>