Commit graph

150 commits

Author SHA1 Message Date
zowoq
f2ea7aa875 terraform/hydra-projects: keep one evaluation only for emacs_overlay
755024956d
2023-10-16 03:22:21 +00:00
zowoq
4f2e1de15f terraform/shell: remove meta from terraform 2023-10-16 03:17:46 +00:00
zowoq
c896c3e3b5 remove terraform effect and hercules secrets
also move cachix deploy token to repo root secrets
2023-09-16 03:00:18 +00:00
zowoq
0fe327bce4 nur-update: build03 -> web01 2023-09-15 06:44:04 +00:00
zowoq
d4343f7ebe move alertmanager, prometheus under monitoring.nix-community.org 2023-09-06 05:26:57 +00:00
zowoq
ac4a067c2b Revert "move alertmanager, prometheus under monitoring.nix-community.org"
This reverts commit 2e480a6b62.
2023-09-05 00:12:43 +00:00
zowoq
2e480a6b62 move alertmanager, prometheus under monitoring.nix-community.org 2023-09-04 22:29:03 +00:00
zowoq
066877dcda terraform/cloudflare: add alertmanager and grafana 2023-08-12 23:08:13 +00:00
zowoq
94de0ff94b web02: monitoring 2023-08-08 06:16:48 +00:00
zowoq
cc367a8b05 web02: init 2023-07-29 22:29:37 +00:00
zowoq
d48f1108d5 terraform/cloudflare: add web02 2023-07-25 07:53:02 +00:00
zowoq
68a4acdadd darwin02: scaleway -> hetzner 2023-07-18 07:09:12 +00:00
zowoq
1c21ae9ad5 terraform/cloudflare: add darwin03 2023-07-17 06:52:19 +00:00
zowoq
da365656a1 terraform/cloudflare: fix darwin02-AAAA 2023-07-08 06:36:47 +00:00
adisbladis
c91f606639 hosts.web01: init
This machine is intended to host web applications.
Initially [Lemmy](https://join-lemmy.org/), but perhaps more down the line.

The initial PR only deals with setting up the machine and required infra like DNS, not setting up Lemmy itself which will be a follow-up.
2023-07-05 08:57:43 +00:00
zowoq
aba917aac1 reencrypt secrets 2023-07-02 17:31:49 +00:00
zowoq
e79972444c terraform/cloudflare: remove search.nix-community.org 2023-06-28 11:19:23 +00:00
zowoq
749bf9322a terraform: update GANDI_KEY 2023-06-02 08:31:58 +00:00
zowoq
08695af347 terraform/cloudflare: add darwin02 2023-06-02 08:31:58 +00:00
adisbladis
67cb2115bf terraform/hydra-projects.tf: Use flake based hydraJobs from emacs-overlay 2023-05-31 23:58:22 +00:00
zowoq
098cd362db merge terraform flake 2023-05-22 10:18:26 +00:00
zowoq
8fd3b4da2a terraform/cloudflare: redirect search to github 2023-05-10 01:00:54 +00:00
zowoq
3997b43484 terraform/flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1474943fd91fbe5567f7582acf568e0f999f4af1' (2023-03-14)
  → 'github:NixOS/nixpkgs/5751551558d7896ffb30ff3d709b4943bb3eafa8' (2023-05-04)

Terraform updates:

terraform: 1.4.0 → 1.4.6
terraform-provider-cloudflare: 4.1.0 → 4.5.0
terraform-provider-tfe: 0.42.0 → 0.44.1
2023-05-05 12:53:34 +10:00
zowoq
1aee92690f docs: remove unnecessary files 2023-04-18 10:06:16 +10:00
zowoq
fde3b61530 .sops.yaml: remove github_actions 2023-03-17 11:35:25 +10:00
zowoq
200854019a terraform/flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/efc59894b1ba73cb745676616c56c780383d6788' (2023-02-19)
  → 'github:NixOS/nixpkgs/1474943fd91fbe5567f7582acf568e0f999f4af1' (2023-03-14)

Terraform updates:

terraform: 1.3.9 → 1.4.0
terraform-provider-cloudflare: 3.33.1 → 4.1.0
terraform-provider-external: 2.2.3 → 2.3.1
2023-03-15 18:22:09 +10:00
zowoq
f05a9e14a5 allow hercules to access terraform secrets 2023-03-13 07:48:44 +10:00
Jörg Thalheim
7c4c6015a1 add envrc to terraform 2023-02-24 08:45:43 +01:00
Jörg Thalheim
dfc0db1caf build04: update age keys + ip address 2023-02-24 08:43:19 +01:00
zowoq
f09e14935b terraform: pin terraform and providers in separate flake 2023-02-21 12:22:51 +10:00
bors[bot]
404bb3dcf5
Merge
438: terraform: use Gandi for email r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-02-16 15:34:06 +00:00
zimbatm
8741b30043
terraform: use Gandi for email
Fix the DNS records so we can use the email forwarding service from
Gandi.
2023-02-16 16:33:39 +01:00
zowoq
9dd9597e8b terraform: removed outdated secrets 2023-02-15 13:05:53 +10:00
zimbatm
9bae446a1a
use gandi for our domains 2023-02-11 17:00:31 +01:00
bors[bot]
7e6e64622c
Merge
415: terraform: use sops provider, drop wrapper r=zowoq a=zowoq



Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
2023-01-26 22:19:23 +00:00
zowoq
b3f8f7b669 terraform: use sops provider, drop wrapper 2023-01-27 07:37:50 +10:00
zimbatm
705b3a2963
remove mumble.nix-community.org
The server doesn't seem to be active anymore. I tried poking port 80,
443 and 64738.
2023-01-25 12:45:56 +01:00
bors[bot]
dfff37bddf
Merge
416: terraform cleanup r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-01-25 10:25:35 +00:00
zimbatm
c667deea19
terraform: remove main
A good main.tf acts as an entrypoint to a module and is typically used
when the module is smaller. For larger module it's best to split things
up and try to map the resources with the filename to make them easier to
find.
2023-01-25 09:58:14 +01:00
zimbatm
641702a577
terraform: clean nix-community.org code
* Move locals to the top of the file
* Use same prefix for all the locals
2023-01-25 09:54:31 +01:00
zimbatm
3c8a2e02dd
terraform: remove deprecated cloudflare account_id argument 2023-01-25 09:50:16 +01:00
zimbatm
035c316bf3
remove builtwithnix.org 2023-01-24 22:33:38 +01:00
Jonas Chevalier
040f73ad05
terraform: invite admins to cloudflare () 2023-01-24 22:32:15 +01:00
zimbatm
d4eef113a3 terraform cloud: add the missing admins 2023-01-25 06:03:44 +10:00
zimbatm
d788b2f349
terraform/terraform wrapper
Renamed the wrapper because all the usages of ./terraform/deploy were
invoking terraform. I also fixed an escaping issue that I encountered
when running `./terraform import 'some.resource["xxx"]' ID`
2023-01-23 14:59:11 +01:00
zimbatm
0563ab6ba7
terraform: import myself
Add my existing user
2023-01-23 13:02:02 +01:00
zowoq
b4ae4bc2cc terraform: invite zowoq to terraform cloud 2023-01-23 13:17:38 +10:00
zimbatm
b5d2bfc3a2
terraform: invite mic92 to terraform cloud 2023-01-22 12:20:58 +01:00
zimbatm
cf6f282aef
terraform: add TFE_TOKEN 2023-01-22 12:13:56 +01:00
zimbatm
28f02d6b94
terraform: comment out WIP state
Some of the state was imported already but I'm stuck on those two
resources.

Since this blocks the deploys, let's merge this already.
2023-01-22 12:08:39 +01:00