Is there an existing issue for this?
Use case description
Currently the default IAM role template allows "lambda.amazonaws.com" to Assume STS Role without any restrictions. For security purposes, it would be a good idea to add a condition to this trust relationship that the source account matches the AWS Account ID that the role is deployed in.
Proposed solution (optional)
PR for this incoming soon