feat(wpcarro/terraform): Encode diogenes as terraform configuration

Some reference commands for my future self (blog post forthcoming?):

```shell
$ nix-shell -p google-cloud-sdk terraform
$ gcloud auth application-default login # stateful
$ terraform init
$ terraform apply
```

What's left for feature parity?
- Encode 100GB external disk as resource
- Encode firewall as resource
- Ensure marcus can SSH to instance

Stretch goals:
- Spin-up fully NixOS-configured instances

Change-Id: If156a5b0a2a0f8bfdf2548a4b5f592a77409fcb5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4724
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
This commit is contained in:
William Carroll 2021-12-27 21:56:02 -04:00 committed by clbot
parent c05c6920ee
commit 3a85d8cede
2 changed files with 51 additions and 0 deletions

4
users/wpcarro/terraform/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.tfstate
*.tfstate.backup
.terraform.lock.hcl
.terraform/**/*