This template sets up an SESv2 email identity and configures feedback attributes to enable email forwarding.

Terraform Template

resource "aws_sesv2_email_identity" "example" {
  email_identity = "example.com"
}

resource "aws_sesv2_email_identity_feedback_attributes" "example" {
  email_forwarding_enabled = true
  email_identity = aws_sesv2_email_identity.example.email_identity
}