Page MenuHomePhabricator
Feed Advanced Search

Aug 5 2024

will added a comment to D12959: [terraform] Adds aws region export to aws-deploy.sh script.

Accepting because according to your test plan, it worked. It should work as long as aws-cli-v2 is used because it supports AWS_DEFAULT_REGION.

But be aware that AWS_REGION env takes precedence over AWS_DEFAULT_REGION in the CLI and generally the former should be used. This script will fail if somebody sets AWS_REGION to something else.

More context: https://stackoverflow.com/a/75670789 and https://docs.aws.amazon.com/sdkref/latest/guide/feature-region.html
It's unfortunate that SO has better explanation than official docs ¯\_(ツ)_/¯

Aug 5 2024, 5:39 AM

Aug 4 2024

will requested review of D12960: [terraform] configure personal ip address through script and not allowed_ips var.
Aug 4 2024, 9:03 PM
will requested review of D12959: [terraform] Adds aws region export to aws-deploy.sh script.
Aug 4 2024, 7:35 PM
will updated the diff for D12929: [terraform] use module approach for landing.

include default blank landing domain

Aug 4 2024, 7:10 PM

Aug 1 2024

will added inline comments to D12928: [keyserver] Run webapp through comm services cluster.
Aug 1 2024, 8:29 PM
will updated the diff for D12928: [keyserver] Run webapp through comm services cluster.

full review feedback

Aug 1 2024, 12:00 PM
will planned changes to D12928: [keyserver] Run webapp through comm services cluster.
Aug 1 2024, 11:18 AM
will updated the diff for D12928: [keyserver] Run webapp through comm services cluster.

review feedback. use secrets.json approach instead of .env

Aug 1 2024, 11:09 AM

Jul 31 2024

will added a comment to D12906: [terraform] Create module for webapp/landing and convert webapp to module.

Nice! The code structure looks neat!
In the future we can do a similar thing to our ECS services - modules can help avoid lots of duplication.

The only thing I have mixed feelings is the name node_service - I think of it as a Node.js service (in fact it is) 😅 Could it be sth like keyserver_node_service? IDK

P.S. Have you tried terraform state mv or just killed old resources and restarted? :D Just curious, I'd do the latter

Jul 31 2024, 7:36 AM
will added inline comments to D12927: [keyserver] Do not verify identity logged for webapp and landing.
Jul 31 2024, 7:32 AM

Jul 30 2024

will planned changes to D12928: [keyserver] Run webapp through comm services cluster.

Planning to change .env to secrets.json approach

Jul 30 2024, 10:52 AM
will added inline comments to D12928: [keyserver] Run webapp through comm services cluster.
Jul 30 2024, 8:29 AM
will added a comment to D12928: [keyserver] Run webapp through comm services cluster.

General question:
What's the advantage of sops-encrypting new .env files instead of reusing our sops_file resource for secrets.json, having webapp-specific config inside it, and then doing

webapp_environment_vars = merge(local.secrets.webapp_secrets,  { ... })

?

I'm not saying your approach is bad, I just want to understand the motivation

Jul 30 2024, 8:29 AM

Jul 29 2024

will updated the summary of D12927: [keyserver] Do not verify identity logged for webapp and landing.
Jul 29 2024, 10:19 PM
will accepted D12923: [terraform][dynamodb] Add userID index to reserved usernames table.
Jul 29 2024, 10:11 PM
will requested review of D12930: [terraform] deploy landing on comm services cluster.
Jul 29 2024, 9:33 PM
will updated the summary of D12928: [keyserver] Run webapp through comm services cluster.
Jul 29 2024, 9:15 PM
will requested review of D12928: [keyserver] Run webapp through comm services cluster.
Jul 29 2024, 9:13 PM
will requested review of D12929: [terraform] use module approach for landing.
Jul 29 2024, 9:10 PM
will requested review of D12927: [keyserver] Do not verify identity logged for webapp and landing.
Jul 29 2024, 9:01 PM
will closed D12905: [terraform] move dns_name output to outputs.tf.
Jul 29 2024, 3:36 AM
will committed rCOMMe667653179ea: [terraform] move dns_name output to outputs.tf (authored by will).
[terraform] move dns_name output to outputs.tf
Jul 29 2024, 3:36 AM
will closed D12904: [terraform] Remove unnecessary mariadb address output.
Jul 29 2024, 3:36 AM
will committed rCOMMea65d810a92e: [terraform] Remove unnecessary mariadb address output (authored by will).
[terraform] Remove unnecessary mariadb address output
Jul 29 2024, 3:36 AM

Jul 28 2024

will requested review of D12905: [terraform] move dns_name output to outputs.tf.
Jul 28 2024, 6:09 PM
will requested review of D12906: [terraform] Create module for webapp/landing and convert webapp to module.
Jul 28 2024, 6:08 PM
will requested review of D12904: [terraform] Remove unnecessary mariadb address output.
Jul 28 2024, 6:03 PM

Jul 26 2024

will accepted D12888: [identity] Add function to batch-get device lists.
Jul 26 2024, 8:09 AM

Jul 25 2024

will closed D12623: [identity] downgrade no auth message error to warning.
Jul 25 2024, 2:38 PM
will committed rCOMM200062e6eea2: [identity] downgrade no auth message error to warning (authored by will).
[identity] downgrade no auth message error to warning
Jul 25 2024, 2:38 PM
will closed D12877: [terraform] Update terraform.tfvars.example and use json format.
Jul 25 2024, 2:23 PM
will committed rCOMMf4fceed7f2ba: [terraform] Update terraform.tfvars.example and use json format (authored by will).
[terraform] Update terraform.tfvars.example and use json format
Jul 25 2024, 2:23 PM
will closed D12876: [terraform] Making user created vpc false by default.
Jul 25 2024, 2:23 PM
will committed rCOMMc8b96f13ef8f: [terraform] Making user created vpc false by default (authored by will).
[terraform] Making user created vpc false by default
Jul 25 2024, 2:23 PM
will closed D12875: [terraform] create separate lb security groups for landing and web.
Jul 25 2024, 2:23 PM
will committed rCOMMfe8af3b57b72: [terraform] create separate lb security groups for landing and web (authored by will).
[terraform] create separate lb security groups for landing and web
Jul 25 2024, 2:22 PM
will closed D12874: [terraform] up maximum deployment and minimum deployment percents.
Jul 25 2024, 2:22 PM
will committed rCOMM45876077b05e: [terraform] up maximum deployment and minimum deployment percents (authored by will).
[terraform] up maximum deployment and minimum deployment percents
Jul 25 2024, 2:22 PM
will updated the diff for D12623: [identity] downgrade no auth message error to warning.

rebase

Jul 25 2024, 2:19 PM
will added a comment to D12623: [identity] downgrade no auth message error to warning.

This was triggered recently and might've been a websocket health check or something related.

It's worth checking if clients aren't broken and they do send the message

Jul 25 2024, 2:18 PM
will updated the diff for D12875: [terraform] create separate lb security groups for landing and web.

rebase

Jul 25 2024, 11:15 AM
will closed D12883: [web] Fixes the emscripten CI build by allowing curl redirects.
Jul 25 2024, 11:13 AM
will committed rCOMM6b04b56d9534: [web] Fixes the emscripten CI build by allowing curl redirects (authored by will).
[web] Fixes the emscripten CI build by allowing curl redirects
Jul 25 2024, 11:13 AM
will requested review of D12883: [web] Fixes the emscripten CI build by allowing curl redirects.
Jul 25 2024, 10:41 AM
will closed D12686: [lib] remove integrity store assertion and use sqlite.
Jul 25 2024, 9:45 AM
will committed rCOMM3a325b4a239f: [lib] remove integrity store assertion and use sqlite (authored by will).
[lib] remove integrity store assertion and use sqlite
Jul 25 2024, 9:45 AM
will updated the diff for D12875: [terraform] create separate lb security groups for landing and web.

rebase

Jul 25 2024, 9:37 AM
will updated the diff for D12875: [terraform] create separate lb security groups for landing and web.

update descriptions for landing and webapp security groups

Jul 25 2024, 7:12 AM
will added inline comments to D12875: [terraform] create separate lb security groups for landing and web.
Jul 25 2024, 7:08 AM

Jul 24 2024

will requested review of D12877: [terraform] Update terraform.tfvars.example and use json format.
Jul 24 2024, 1:40 PM
will requested review of D12876: [terraform] Making user created vpc false by default.
Jul 24 2024, 1:34 PM
will updated the diff for D12686: [lib] remove integrity store assertion and use sqlite.

review feedback and rebase

Jul 24 2024, 1:26 PM
will accepted D12873: [terraform] bump prod identity to 0.33.
Jul 24 2024, 1:21 PM
will requested review of D12875: [terraform] create separate lb security groups for landing and web.
Jul 24 2024, 1:15 PM
will closed D12863: [terraform] move image config to aws_ecs and add custom image variable.
Jul 24 2024, 12:58 PM
will closed D12868: [terraform] Rename `aws_ecs` to `keyserver_cluster` and move shared security group.
Jul 24 2024, 12:58 PM
will committed rCOMMbec3fcefbe5c: [terraform] move image config to aws_ecs and add custom image variable (authored by will).
[terraform] move image config to aws_ecs and add custom image variable
Jul 24 2024, 12:58 PM
will committed rCOMMdb7d3c76c3e2: [terraform] Rename `aws_ecs` to `keyserver_cluster` and move shared security… (authored by will).
[terraform] Rename `aws_ecs` to `keyserver_cluster` and move shared security…
Jul 24 2024, 12:58 PM
will closed D12862: [terraform] update variables.tf self-host descriptions.
Jul 24 2024, 12:58 PM
will committed rCOMMec09585a102e: [terraform] update variables.tf self-host descriptions (authored by will).
[terraform] update variables.tf self-host descriptions
Jul 24 2024, 12:58 PM
will requested review of D12874: [terraform] up maximum deployment and minimum deployment percents.
Jul 24 2024, 12:54 PM
will closed D12861: [terraform] Actually use db_instance_class for mariadb.
Jul 24 2024, 12:35 PM
will committed rCOMMbcf60c546342: [terraform] Actually use db_instance_class for mariadb (authored by will).
[terraform] Actually use db_instance_class for mariadb
Jul 24 2024, 12:35 PM
will updated the diff for D12863: [terraform] move image config to aws_ecs and add custom image variable.

rebase

Jul 24 2024, 12:34 PM
will requested review of D12868: [terraform] Rename `aws_ecs` to `keyserver_cluster` and move shared security group.
Jul 24 2024, 9:06 AM

Jul 23 2024

will closed D12864: [terraform] upgrade the disk image to 1.0.102.
Jul 23 2024, 6:27 PM
will committed rCOMMd6cfb6f862ae: [terraform] upgrade the disk image to 1.0.102 (authored by will).
[terraform] upgrade the disk image to 1.0.102
Jul 23 2024, 6:27 PM
will requested review of D12864: [terraform] upgrade the disk image to 1.0.102.
Jul 23 2024, 5:27 PM
will requested review of D12863: [terraform] move image config to aws_ecs and add custom image variable.
Jul 23 2024, 11:45 AM
will requested review of D12862: [terraform] update variables.tf self-host descriptions.
Jul 23 2024, 11:43 AM
will requested review of D12861: [terraform] Actually use db_instance_class for mariadb.
Jul 23 2024, 9:56 AM

Jul 22 2024

will closed D12849: [terraform] Avoid including Terraform *.tfstate.backup in keyserver docker images.
Jul 22 2024, 6:13 PM
will committed rCOMM139ef005b33b: [terraform] Avoid including Terraform *.tfstate.backup in keyserver docker… (authored by will).
[terraform] Avoid including Terraform *.tfstate.backup in keyserver docker…
Jul 22 2024, 6:13 PM
will closed D12847: [keyserver] only run keyserver cron jobs if primary node besides geoip cron job.
Jul 22 2024, 4:49 PM
will committed rCOMM83950aa49edf: [keyserver] only run keyserver cron jobs if primary node besides geoip cron job (authored by will).
[keyserver] only run keyserver cron jobs if primary node besides geoip cron job
Jul 22 2024, 4:49 PM
will closed D12846: [keyserver] move `isPrimaryNode` to keyserver utils.
Jul 22 2024, 4:49 PM
will committed rCOMM4e4b683f5de8: [keyserver] move `isPrimaryNode` to keyserver utils (authored by will).
[keyserver] move `isPrimaryNode` to keyserver utils
Jul 22 2024, 4:49 PM
will requested review of D12848: [nix] revert nix watchman to use brew.
Jul 22 2024, 12:47 PM
will requested review of D12847: [keyserver] only run keyserver cron jobs if primary node besides geoip cron job.
Jul 22 2024, 12:34 PM
will requested review of D12846: [keyserver] move `isPrimaryNode` to keyserver utils.
Jul 22 2024, 12:31 PM
will accepted D12845: [terraform] bump staging identity to 0.33-staging.
Jul 22 2024, 12:15 PM
will added inline comments to D12814: [terraform] webapp terraform config.
Jul 22 2024, 11:10 AM

Jul 20 2024

will closed D12821: [terraform] make allowed_ip a list of valid ips.
Jul 20 2024, 12:01 AM
will committed rCOMMe1239d588992: [terraform] make allowed_ip a list of valid ips (authored by will).
[terraform] make allowed_ip a list of valid ips
Jul 20 2024, 12:01 AM

Jul 19 2024

will published D12821: [terraform] make allowed_ip a list of valid ips for review.
Jul 19 2024, 11:59 PM
will closed D12817: [terraform] upgrade self host image to 1.0.101.
Jul 19 2024, 11:22 PM
will closed D12815: [terraform] landing terraform config.
Jul 19 2024, 11:22 PM
will committed rCOMMcbe600f24166: [terraform] upgrade self host image to 1.0.101 (authored by will).
[terraform] upgrade self host image to 1.0.101
Jul 19 2024, 11:22 PM
will closed D12814: [terraform] webapp terraform config.
Jul 19 2024, 11:22 PM
will committed rCOMM15bcdda59137: [terraform] landing terraform config (authored by will).
[terraform] landing terraform config
Jul 19 2024, 11:22 PM
will committed rCOMMefb6e368088b: [terraform] webapp terraform config (authored by will).
[terraform] webapp terraform config
Jul 19 2024, 11:22 PM
will closed D12813: [terraform] add webapp, landing domains and rename keyserver domain variables.
Jul 19 2024, 11:22 PM
will committed rCOMM422c1c6bdb33: [terraform] add webapp, landing domains and rename keyserver domain variables (authored by will).
[terraform] add webapp, landing domains and rename keyserver domain variables
Jul 19 2024, 11:22 PM
will closed D12812: [terraform] run keyserver isolated from webapp and landing.
Jul 19 2024, 11:22 PM
will committed rCOMM105ddca5585b: [terraform] run keyserver isolated from webapp and landing (authored by will).
[terraform] run keyserver isolated from webapp and landing
Jul 19 2024, 11:22 PM
will requested review of D12817: [terraform] upgrade self host image to 1.0.101.
Jul 19 2024, 10:13 PM
will accepted D12816: Don't include .env files from self-host directory in Docker images.
Jul 19 2024, 8:57 PM
will published D12815: [terraform] landing terraform config for review.
Jul 19 2024, 8:49 PM
will closed D12810: [keyserver] run webapp, landing, and keyserver conditionally.
Jul 19 2024, 8:49 PM
will committed rCOMM083b66c6c741: [keyserver] run webapp, landing, and keyserver conditionally (authored by will).
[keyserver] run webapp, landing, and keyserver conditionally
Jul 19 2024, 8:49 PM