AWS document that a service principal name be used instead of AWS account ID in any relevant IAM policy.
The aws_cloudtrail_service_account data source should now be considered deprecated and will be removed in a future version.
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.
AWS document that a service principal name be used instead of AWS account ID in any relevant IAM policy. The
aws_cloudtrail_service_account
data source should now be considered deprecated and will be removed in a future version.Relates https://github.com/hashicorp/terraform-provider-aws/issues/29346.