Skip to content

SESBulkTemplatedCrudPolicy lacks template permission #2844

@sukrit007

Description

@sukrit007

Description

The SES Policy templates SESBulkTemplatedCrudPolicy lacks resource for template ARN when performing ses:SendTemplatedEmail .

https://github.com/aws/serverless-application-model/blob/develop/samtranslator/policy_templates_data/policy_templates.json#L1890

Steps to reproduce

Use the SESBulkTemplatedCrudPolicy and specify verified Identity as parameter.

Observed result

Lambda fails to send email, as it lacks ses:SendTemplatedEmail on template.

After manually modifying the policy and also adding ARN for template, it works

Expected result

We need to add TemplateName as parameter to SESBulkTemplatedCrudPolicy

Additional environment details

  1. OS: Mac 12.6.2
  2. If using the SAM CLI, sam --version: 1.67.0
  3. AWS region: us-east-2

Metadata

Metadata

Assignees

Labels

area/policy-templatesstage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions