Update how the API's SSM ParameterStore params are retrieved to use a single API call. Also adds a check to cause the entry.sh to fail if secrets are not retrieved. Since this will block the start of the lambda function code, it should cause the broken function to be discarded and replaced.
This change is being made to try to avoid scenarios we have seen where a lambda function gets initialized missing some of its secrets.
Summary
Update how the API's SSM ParameterStore params are retrieved to use a single API call. Also adds a check to cause the entry.sh to fail if secrets are not retrieved. Since this will block the start of the lambda function code, it should cause the broken function to be discarded and replaced.
This change is being made to try to avoid scenarios we have seen where a lambda function gets initialized missing some of its secrets.
Related
388