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.