Page MenuHomePhabricator

[terraform] Fix lambda opensearch domain access
ClosedPublic

Authored by will on Fri, May 3, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 3:43 PM
Unknown Object (File)
Sun, May 12, 2:06 AM
Unknown Object (File)
Sun, May 12, 1:58 AM
Unknown Object (File)
Thu, May 9, 6:40 PM
Unknown Object (File)
Thu, May 9, 1:52 PM
Unknown Object (File)
Thu, May 9, 11:06 AM
Unknown Object (File)
Tue, May 7, 2:07 PM
Unknown Object (File)
Sat, May 4, 6:51 AM
Subscribers

Details

Summary

Tried to figure out why we had 10 minute wait times for terraform apply and discovered that I misconfigured the opensearch domain access policy.

The opensearch domain access shouldn't be what determines access for the lambda. Instead, we should separately attach the policy directly to the lambda.

Test Plan

Tested on staging. Added a test user after applying terraform changes and verified the username appeared in our staging search index through websocat.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable