Page MenuHomePhabricator

[Terraform] Give backup service AWS IAM role necessary to query and update backup service logs table
ClosedPublic

Authored by marcin on May 6 2024, 3:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 12:08 AM
Unknown Object (File)
Mon, Nov 11, 8:33 PM
Unknown Object (File)
Mon, Nov 11, 3:35 PM
Unknown Object (File)
Mon, Nov 11, 2:55 PM
Unknown Object (File)
Mon, Nov 11, 10:54 AM
Unknown Object (File)
Sat, Oct 26, 10:46 AM
Unknown Object (File)
Oct 10 2024, 8:37 PM
Unknown Object (File)
Oct 10 2024, 8:37 PM
Subscribers

Details

Summary

Staging and production backup service doesn't have necessary permissions to update backup service logs. This is the reason why log upload and download on iOS is broken. This differential adds necessary permission so that the logs functionality is fixed on iOS.

Test Plan

Prior to the test plan I had to delete and recreate backup-service-logs table since its schema was out of sync with TF and service source code (logID was still considered a string)

  1. Run terraform apply.
  2. Upload backup from iOS device.
  3. Start typing draft after uploading to trigger log upload.
  4. Log out.
  5. Log in.
  6. Restore.
  7. Ensure that draft is restored.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable