[services] Tunnelbroker - Add dynamoDB tables to the Terraform
Summary:
Add Tunnelbroker dynamoDB tables configuration to the Terraform test and production config files.
The database model is available in the architecture review block.
Test Plan:
- Run yarn run-local-cloud to update the structure of the dynamoDB tables inside the localstack docker container due to the changes.
- Run yarn run-tunnelbroker-service-dev-mode to run the tunnelbroker server.
- The tunnelbroker will connect to the localstack dynamoDB database and check for the tables are exists in the database by the isTableAvailable() internal method on the startup procedure.
- If some of the tables do not exist (were not created by the terraform or the name of the expected table is not correct in the terraform configuration) the tunnelbroker will throw an error table X is not available on startup.
Reviewers: karol-bisztyga, palys-swm, jimpo
Reviewed By: karol-bisztyga, palys-swm, jimpo
Subscribers: ashoat, palys-swm, Adrian, atul, karol-bisztyga, yayabosh
Differential Revision: https://phab.comm.dev/D3965