Cross-Account Roles in AWS via Terraform

Stuck on creating cross-account AWS IAM roles via terraform? Maybe this blog I wrote helps: https://blog.container-solutions.com/how-to-create-cross-account-user-roles-for-aws-with-terraform