aboutsummaryrefslogtreecommitdiff
path: root/ops/gcp-backups/default.nix (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-04ops(terraform): individual actions for init/plan/applyFranck Cuny1-3/+11
Don't do all of these actions together, instead provide helpers for both init, plan, and apply.
2022-08-15feat(ops/gcp-backups): add terraform configuration for GCP bucketsFranck Cuny1-6/+3
This terraform configuration is to create the buckets that I'm using for various buckets. Doing this through the UI is difficult, as there are too many options, it's easy to have different buckets with different settings when I need them to be identical, no way to review what the change is going to look like, etc. Change-Id: I8ee15939559e7632e2df9d17cfaec75d756930b6 Reviewed-on: https://cl.fcuny.net/c/world/+/713 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-10ref(ops/buildkite): use service account impersonation for GCPFranck Cuny1-2/+0
Instead of using a key for the terraform service account, use delegation. This simplifies a bit the setup: - no need to have a local key - principle of least privilege - no need to setup some environment variables Update the documentation in case something goes wrong in the future. Change-Id: I430bdf6816419da35ae8a36cec55ce56491b985c Reviewed-on: https://cl.fcuny.net/c/world/+/710 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-08-07feat(ops/buildkite): use terraform to manage buildkiteFranck Cuny1-0/+25
Change-Id: I63fc8fd81679457f7dbeafc2bd10c0eded0de991 Reviewed-on: https://cl.fcuny.net/c/world/+/707 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>