Open raphavr opened 1 month ago
can you show the error message you are getting?
I'm experiencing the same issue. The first error I get is in cloudwatch logs when I start with a full load and it tries to truncate existing data from the target bucket. It shows up in cloudwatch logs:
2024-06-10T17:19:14 [TARGET_LOAD ]E: Failed to delete s3 object schema/table/LOAD00000001.parquet [1021807] (file_imp.c:2758)
This happens despite the endpoint test from the AWS console succeeding. AWS docs at https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.S3.html show the correct permissions that @raphavr is setting. When I add a /*
resource identifier for my bucket policy, it works for me too.
Description
The S3 target policy configured by the module is not following the AWS doc, hence leading to permission errors.
Versions
Module version [Required]:
Terraform version: 1.5.7
Provider version(s): 5.48.0
Reproduction Code [Required]
Expected behavior
Actual behavior
Additional context
I've opened a PR following the user guide