- Newest
- Most votes
- Most comments
Migrating from SESv1 to SESv2 API for your existing domain identities is possible, and you can indeed add ConfigurationSets to your existing verified domains. Here's what you need to know:
-
Existing Resources: Your existing domain identities created with SESv1 API will continue to work. You don't need to re-verify or recreate these identities when migrating to SESv2.
-
API Differences: While there are some differences between SESv1 and SESv2 APIs, the core functionality for domain verification remains similar.
-
Domain Verification: In SESv2, the process has been simplified. You no longer need to create a separate TXT record for domain verification. The DKIM records (3 CNAME records) you've already set up for your domains are sufficient for both verification and DKIM signing.
-
DKIM Options: SESv2 offers more DKIM options, including Easy DKIM (which uses the 3 CNAME records you already have) and Bring Your Own DKIM (BYODKIM). If you're happy with your current Easy DKIM setup, you don't need to change anything.
-
Adding ConfigurationSets: You can add ConfigurationSets to your existing verified domains using the SESv2 API without needing to re-verify the domains. Use the
PutEmailIdentityConfigurationSetAttributesoperation to associate a ConfigurationSet with an existing email identity. -
Pulumi State Import: You're correct that you can "import" the state of your existing domains into new SESv2 resources in Pulumi. This will allow you to manage these resources using the SESv2 API going forward.
-
API Coexistence: It's worth noting that you can use both SESv1 and SESv2 APIs in the same application if needed. This can be helpful during a gradual migration process.
To add a ConfigurationSet to an existing domain identity using the AWS CLI (which you can adapt to your Pulumi code), you would use a command like this:
aws sesv2 put-email-identity-configuration-set-attributes --email-identity your-domain.com --configuration-set-name your-config-set-name
In summary, you can keep using your existing verified domains and add ConfigurationSet options to them using the SESv2 API. The migration process should be relatively straightforward, as the fundamental domain verification and DKIM setup you've already done remains valid in SESv2.
Sources
Upgrade Your Email Tech Stack with Amazon SESv2 API | AWS Messaging & Targeting Blog
Edit an identity to use a default configuration set using the SES API - Amazon Simple Email Service
Creating and verifying identities in Amazon SES - Amazon Simple Email Service
Managing configuration sets in Amazon SES - Amazon Simple Email Service
Relevant content
asked 10 months ago
