Skip to content

[AWS::SES::ConfigurationSetEventDestination] - [BUG] - Failed to create via sam deploy #2492

@DuongLe

Description

@DuongLe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions