Because we've switched to the composite key in the messages table we don't need an additional index for a toDeviceID. We can use a hash_key.
Linear task: ENG-1493
Differential D4695
[services] Tunnelbroker - Remove `ToDeviceID` index from messages table • max on Aug 1 2022, 7:05 AM. Authored by Tags None Referenced Files
Details Because we've switched to the composite key in the messages table we don't need an additional index for a toDeviceID. We can use a hash_key. Linear task: ENG-1493 Run yarn init-local-cloud is expected to be successful.
Diff Detail
Event TimelineComment Actions How do we keep this in sync with AWS cloud? Is the cloud recreated using the scripts or we do this by hand? Comment Actions We are doing this by hand in AWS and by yarn init-local-cloud to update the localstack. Comment Actions @max, is there a task tracking configuring Tunnelbroker in AWS via Terraform? If not, can you create one? Comment Actions Can you create a new one specific to Tunnelbroker, assign it to yourself, add it as a related task to ENG-1057, and slot it in for Tunnelbroker 0.5? Comment Actions this seems strange, we should just be running terraform apply to update the production stack in AWS |