Problems trying to create DMS endpoint resource with both extra connections attributes and mongodb_settings

I am trying to execute a Terraform script that properly assigns attributes under “mongodb_setting” configuration block as well as the “extra_connection_attributes” (ECA) key together. When performing the plan command, it only recognises the “mongodb_setting” parameters and exclude the values under (ECA). I was wondering if there is currently a workaround for this?

We need to append an additional ECA string called “useOplog=true” to run our CDC tasks successfully.