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, Jun 25, 9:41 PM
Unknown Object (File)
Mon, Jun 24, 10:12 AM
Unknown Object (File)
Fri, Jun 21, 8:23 AM
Unknown Object (File)
Fri, Jun 21, 2:33 AM
Unknown Object (File)
Thu, Jun 20, 9:51 AM
Unknown Object (File)
Fri, Jun 14, 5:48 AM
Unknown Object (File)
Fri, Jun 14, 4:07 AM
Unknown Object (File)
Fri, Jun 7, 12:57 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