Open nsb413 opened 1 month ago
Voting for Prioritization
Volunteering to Work on This Issue
It would be nice to have "MultipleFiles" explicitly included as a configuration option. When I test the module with no aggregation_type
set, the result is Aggregate records into multiple files in each partition
, so I think all 3 behaviors are available, and MultipleFiles
appears to be the default behavior.
My full destination_flow_config block
destination_flow_config {
connector_type = "S3"
destination_connector_properties {
s3 {
bucket_name = var.source_bucket_name
bucket_prefix = "data"
s3_output_format_config {
file_type = "JSON"
prefix_config {
prefix_type = "PATH"
}
aggregation_config {
target_file_size = "128"
}
}
}
}
}
Description
Amazon AppFlow supports Aggregate records into multiple files in each partition in Aggregation settings. However Terraform is only supporting None and SingleFile.
Affected Resource(s) and/or Data Source(s)
aws_appflow_flow
Potential Terraform Configuration
References
https://docs.aws.amazon.com/appflow/latest/userguide/flows-partition.html
Would you like to implement a fix?
None