AWS Redshift documentation specifies that a developer (e.g of an AWS Glue Job) should split files into a multiple of the number of slices in the target Redshift cluster.
Hence we would need to obtain this value in order to pass to Glue Jobs or Lambda functions provisioned by Terraform.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
Request that a new attribute provides the number of slices in a cluster.
Affected Resource(s) and/or Data Source(s)
Data Source: aws_redshift_cluster
Potential Terraform Configuration
References
AWS Redshift documentation specifies that a developer (e.g of an AWS Glue Job) should split files into a multiple of the number of slices in the target Redshift cluster.
Hence we would need to obtain this value in order to pass to Glue Jobs or Lambda functions provisioned by Terraform.
https://docs.aws.amazon.com/redshift/latest/dg/t_splitting-data-files.html
"Split your data into files so that the number of files is a multiple of the number of slices in your cluster"
Would you like to implement a fix?
None