Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When creating an SES configuration set event destination, LocalStack logs indicate it was successful, but LocalStack will not return any details about the resource when invoking the ses describe-configuration-set
command on the CLI:
❯ awslocal ses describe-configuration-set --configuration-set-name my-config-set --configuration-set-attribute-names eventDestinations
{
"ConfigurationSet": {
"Name": "my-config-set"
}
}
However, if you attempt to create that same event destination again, the CLI reports back an error that the event destination already exists, but still returns nothing via the ses describe-configuration-set
:
An error occurred (EventDestinationAlreadyExists) when calling the CreateConfigurationSetEventDestination operation: Duplicate Event destination Name.
Expected Behavior
When describing the configuration set and having it include event destinations it should output something like the below:
❯ awslocal ses describe-configuration-set --configuration-set-name my-config-set --configuration-set-attribute-names eventDestinations
{
"ConfigurationSet": {
"Name": "my-config-set"
},
"EventDestinations": [
{
"Name": "bounces",
"Enabled": true,
"MatchingEventTypes": [
"bounce"
],
"SNSDestination": {
"TopicARN": "arn:aws:sns:us-west-2:000000000000:ses-bounces-topic"
}
}
]
}
How are you starting LocalStack?
With the localstack
script
Steps To Reproduce
How are you starting localstack (e.g., bin/localstack
command, arguments, or docker-compose.yml
)
localstack start
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
# Verify version of awslocal
❯ awslocal --version
aws-cli/2.27.29 Python/3.13.4 Darwin/24.5.0 source/arm64
# Create the configuration set
❯ awslocal ses create-configuration-set --configuration-set Name=my-config-set
# Create the SNS topic
❯ awslocal sns create-topic --name ses-bounces-topic
{
"TopicArn": "arn:aws:sns:us-west-2:000000000000:ses-bounces-topic"
}
# Create event destination for config set to route to SNS topic
❯ awslocal ses create-configuration-set-event-destination \
--configuration-set-name my-config-set \
--event-destination '{
"Name": "bounces",
"Enabled": true,
"MatchingEventTypes": ["bounce"],
"SNSDestination": {
"TopicARN": "arn:aws:sns:us-west-2:000000000000:ses-bounces-topic"
}
}'
# Describe config set and include event destinations
❯ awslocal ses describe-configuration-set --configuration-set-name my-config-set --configuration-set-attribute-names eventDestinations
{
"ConfigurationSet": {
"Name": "my-config-set"
}
}
# Attempt to create event destination again with same settings
❯ awslocal ses create-configuration-set-event-destination \
--configuration-set-name my-config-set \
--event-destination '{
"Name": "bounces",
"Enabled": true,
"MatchingEventTypes": ["bounce"],
"SNSDestination": {
"TopicARN": "arn:aws:sns:us-west-2:000000000000:ses-bounces-topic"
}
}'
An error occurred (EventDestinationAlreadyExists) when calling the CreateConfigurationSetEventDestination operation: Duplicate Event destination Name.
Corresponding LocalStack runtime log:
2025-06-05T23:22:28.103 INFO --- [et.reactor-0] localstack.request.aws : AWS ses.CreateConfigurationSet => 200
2025-06-05T23:23:13.175 INFO --- [et.reactor-0] localstack.request.aws : AWS sns.CreateTopic => 200
2025-06-05T23:24:04.404 INFO --- [et.reactor-0] localstack.request.aws : AWS ses.CreateConfigurationSetEventDestination => 200
2025-06-05T23:25:40.758 INFO --- [et.reactor-0] localstack.request.aws : AWS ses.DescribeConfigurationSet => 200
2025-06-05T23:28:00.518 INFO --- [et.reactor-0] localstack.request.aws : AWS ses.CreateConfigurationSetEventDestination => 400 (EventDestinationAlreadyExists)
Environment
- OS: macOS 15.5
- LocalStack:
LocalStack version: 4.3.1.dev101
LocalStack Docker image sha: sha256:eccc6622f54b8eb6594d5cff24a7fe4efea2575e81518badc22be4af48a897a
LocalStack build date: 2025-05-07
LocalStack build git hash: 5df40f196
Anything else?
No response