Closed rtpascual closed 1 week ago
Latest commit: 8a31b82c136be03b28abb59640de149a140f79a5
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Problem
Work done in https://github.com/aws-amplify/amplify-backend/pull/2188 was too eager (no solid way to validate layer arn region with function region during synthesis). Reverting this change leaves us with the original error when layer arn region is not the same as function region which is not great:
Issue number, if available:
Changes
Update error mapping with instructions to check Lambda layer ARNs and make sure regions are correct. New error message:
Corresponding docs PR, if applicable:
Validation
Unit tests.
Checklist
run-e2e
label set.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.