As per the documentation Terraform Registry
destination_config property in an aws_lambda_event_source_mapping resource is only supported by stream sources (Kinesis and DynamoDB) and not for MSK. But when using the AWS APIs (Console/CLI), I am able to set this property with a lambda function whose source is MSK
My concrete usecase is to use SQS as DLQ with my lambda function which is triggered based on events in Kafka. But I am unable SQS as DLQ because of terraform limitation
I would like to know possible workarounds for this