Our scripts take care of creating the comm database. However, AWS RDS initializes empty, causing
ecs tasks running the keyserver image to fail. This uses a null_resource to setup the comm database before launching keyserver nodes
Depends on D12688
Paths
| Differential D12689 Authored by will on Jul 8 2024, 5:37 AM.
Details Summary Our scripts take care of creating the comm database. However, AWS RDS initializes empty, causing Depends on D12688 Test Plan On terraform apply, I no longer need to mysql remotely into aws rds to create the comm database. The comm database is first created and then the ecs tasks are launched
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptJul 8 2024, 5:37 AM2024-07-08 05:37:53 (UTC-7) will edited the summary of this revision. (Show Details)Jul 8 2024, 5:38 AM2024-07-08 05:38:09 (UTC-7) will added a parent revision: D12688: [terraform] make aws rds instance class configurable for self-hosting. will added a child revision: D12690: [terraform] restrict redis access to ecs keyserver service only. Harbormaster returned this revision to the author for changes because remote builds failed.Jul 8 2024, 6:04 AM2024-07-08 06:04:14 (UTC-7) Harbormaster completed remote builds in B30222: Diff 42143.Jul 9 2024, 6:56 AM2024-07-09 06:56:31 (UTC-7) Harbormaster completed remote builds in B30272: Diff 42213.Jul 10 2024, 2:42 PM2024-07-10 14:42:38 (UTC-7) This revision is now accepted and ready to land.Jul 10 2024, 11:58 PM2024-07-10 23:58:14 (UTC-7)
Harbormaster completed remote builds in B30419: Diff 42391.Jul 17 2024, 9:33 AM2024-07-17 09:33:22 (UTC-7) Closed by commit rCOMMcda5310213fd: [terraform] create comm database on aws rds startup (authored by will). · Explain WhyJul 17 2024, 7:01 PM2024-07-17 19:01:44 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 42442 services/terraform/self-host/aws_db.tf
services/terraform/self-host/keyserver_primary.tf
|