Page MenuHomePhabricator

[terraform] Fix lambda opensearch domain access
ClosedPublic

Authored by will on May 3 2024, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 12 2024, 1:42 AM
Unknown Object (File)
Nov 12 2024, 1:15 AM
Unknown Object (File)
Nov 11 2024, 3:00 PM
Unknown Object (File)
Nov 11 2024, 11:29 AM
Unknown Object (File)
Oct 20 2024, 7:45 AM
Unknown Object (File)
Oct 10 2024, 11:37 PM
Unknown Object (File)
Oct 10 2024, 11:37 PM
Unknown Object (File)
Oct 10 2024, 11:37 PM
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