aws / aws/serverless-application-model
Include IAM policy to validate phone numbers
Open
area/policy-templates
type/feature
- Dominant language
- Python
- Stars
- 9.6k
- Forks
- 2.5k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 7
Description
**Description:**
As soon you deploy a new lambda using SAM CLI, you get a validation erro due to the policy ARN to validate phone numbers from pinpoint service is not available as a AWS managed permission.
**Steps to reproduce the issue:**
1. Go to AWS IAM console
2. Search for PinpointReadAccess
3. Use that policy in the list of policies inside you yaml file
4. Try to deploy
**Observed result:**
400 status code
**Expected result:**
200 OK for the function iam role stack
I have a proposal of a PR here:
https://github.com/awslabs/serverless-application-model/pull/1466
Contributor guide
Assessment
This issue has not been assessed yet.