aws / aws/serverless-application-model

Include IAM policy to validate phone numbers

Open
#1,467 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.