In D12959#366803, @bartek wrote: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 ¯\_(ツ)_/¯
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Aug 5 2024
Aug 5 2024
Aug 4 2024
Aug 4 2024
include default blank landing domain
Aug 1 2024
Aug 1 2024
full review feedback
review feedback. use secrets.json approach instead of .env
Jul 31 2024
Jul 31 2024
will added a comment to D12906: [terraform] Create module for webapp/landing and convert webapp to module.
In D12906#365084, @bartek wrote: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
will added inline comments to D12927: [keyserver] Do not verify identity logged for webapp and landing.
Jul 30 2024
Jul 30 2024
Planning to change .env to secrets.json approach
In D12928#366013, @bartek wrote: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 doingwebapp_environment_vars = merge(local.secrets.webapp_secrets, { ... })?
I'm not saying your approach is bad, I just want to understand the motivation
Jul 29 2024
Jul 29 2024
will updated the summary of D12927: [keyserver] Do not verify identity logged for webapp and landing.
will committed rCOMMe667653179ea: [terraform] move dns_name output to outputs.tf (authored by will).
[terraform] move dns_name output to outputs.tf
will committed rCOMMea65d810a92e: [terraform] Remove unnecessary mariadb address output (authored by will).
[terraform] Remove unnecessary mariadb address output
Jul 28 2024
Jul 28 2024
will requested review of D12906: [terraform] Create module for webapp/landing and convert webapp to module.
Jul 26 2024
Jul 26 2024
Jul 25 2024
Jul 25 2024
will committed rCOMM200062e6eea2: [identity] downgrade no auth message error to warning (authored by will).
[identity] downgrade no auth message error to warning
will committed rCOMMf4fceed7f2ba: [terraform] Update terraform.tfvars.example and use json format (authored by will).
[terraform] Update terraform.tfvars.example and use json format
will committed rCOMMc8b96f13ef8f: [terraform] Making user created vpc false by default (authored by will).
[terraform] Making user created vpc false by default
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
will committed rCOMM45876077b05e: [terraform] up maximum deployment and minimum deployment percents (authored by will).
[terraform] up maximum deployment and minimum deployment percents
rebase
In D12623#357165, @bartek wrote: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
will updated the diff for D12875: [terraform] create separate lb security groups for landing and web.
rebase
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
will committed rCOMM3a325b4a239f: [lib] remove integrity store assertion and use sqlite (authored by will).
[lib] remove integrity store assertion and use sqlite
will updated the diff for D12875: [terraform] create separate lb security groups for landing and web.
rebase
will updated the diff for D12875: [terraform] create separate lb security groups for landing and web.
update descriptions for landing and webapp security groups
will added inline comments to D12875: [terraform] create separate lb security groups for landing and web.
Jul 24 2024
Jul 24 2024
review feedback and rebase
will requested review of D12875: [terraform] create separate lb security groups for landing and web.
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
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…
will committed rCOMMec09585a102e: [terraform] update variables.tf self-host descriptions (authored by will).
[terraform] update variables.tf self-host descriptions
will committed rCOMMbcf60c546342: [terraform] Actually use db_instance_class for mariadb (authored by will).
[terraform] Actually use db_instance_class for mariadb
will updated the diff for D12863: [terraform] move image config to aws_ecs and add custom image variable.
rebase
Jul 23 2024
Jul 23 2024
[terraform] upgrade the disk image to 1.0.102
will requested review of D12863: [terraform] move image config to aws_ecs and add custom image variable.
Jul 22 2024
Jul 22 2024
will committed rCOMM139ef005b33b: [terraform] Avoid including Terraform *.tfstate.backup in keyserver docker… (authored by will).
[terraform] Avoid including Terraform *.tfstate.backup in keyserver docker…
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
will committed rCOMM4e4b683f5de8: [keyserver] move `isPrimaryNode` to keyserver utils (authored by will).
[keyserver] move `isPrimaryNode` to keyserver utils
Jul 20 2024
Jul 20 2024
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 19 2024
Jul 19 2024
will committed rCOMMcbe600f24166: [terraform] upgrade self host image to 1.0.101 (authored by will).
[terraform] upgrade self host image to 1.0.101
[terraform] landing terraform config
[terraform] webapp terraform config
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
will committed rCOMM105ddca5585b: [terraform] run keyserver isolated from webapp and landing (authored by will).
[terraform] run keyserver isolated from webapp and landing
will committed rCOMM083b66c6c741: [keyserver] run webapp, landing, and keyserver conditionally (authored by will).
[keyserver] run webapp, landing, and keyserver conditionally