aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
[AWS::SES::ConfigurationSetEventDestination] - [BUG] - Failed to create via sam deploy
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
AWS::SES::ConfigurationSetEventDestination
### Resource Name
_No response_
### Issue Description
I'm using SAM to deploy resources. One of them `SESEventDestination` is failing to be created:
This is a snippet of my template.yaml
```
SESEventDestination:
Type: AWS::SES::ConfigurationSetEventDestination
Properties:
ConfigurationSetName: !Ref DomainConfigurationSet
EventDestination:
Name: "SNS-Feedback-Destination"
Enabled: true
MatchingEventTypes:
- "bounce"
- "complaint"
SnsDestination:
TopicARN: !Ref SESNotificationTopic
DomainConfigurationSet:
Type: AWS::SES::ConfigurationSet
Properties:
Name: "insert-name"
SESNotificationTopic:
Type: AWS::SNS::Topic
Properties:
Subscription:
- Protocol: lambda
Endpoint: !GetAtt FeedbackHandlerFunction.Arn
```
The error message against creation of `SESEventDestination`
```
Resource handler returned message: "Cannot invoke "software.amazon.awssdk.services.ses.model.KinesisFirehoseDestination.iam RoleARN()" because the return value of "software.amazon.awssdk.services.ses.model.EventDestination.kinesisFirehoseDestination()" is null" (RequestToken: 0d3baea7-5d22-2d0a-d6be-41b74bc30dcb, HandlerErrorCode: InternalFailure)
```
Note that I don't even use Kinesis Firehose at all so a bit strange to see it mentioned here.
### Expected Behavior
I expected the resource to be successfully deployed
### Observed Behavior
It couldn't deploy SESEventDestination so my stack update was rolled back
### Test Cases
See issue description for re-creating the error
### Other Details
_No response_
Contributor guide
Research direction
Recreate the resource from the template.yaml snippet and run sam deploy to confirm the failure in AWS::SES::ConfigurationSetEventDestination. Compare the requested SnsDestination with the error's null KinesisFirehoseDestination reference; done means SESEventDestination creates successfully and the stack avoids rollback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100