
This article will be about how to do Cross-Account Lambda Invocation.
_podcast-4-camwhores-tv-taken-offline-myfreecams-affiliate-program.jpg)
In big organisations, where the infrastructure is organised per multiple AWS accounts, you might find often to do cross-account actions. In this article I will demonstrate, how you can access your AWS resources from the command line, when your organization enforces good security practices, such as multi-factor authentication (MFA) and cross account roles.If you are not familiar with this setup, please read. Menu Secure access from AWS CLI with Cross Account Access and MFA Apon aws, security, python, serverless. fromRoleArn (this, 'cross-acct-source-read-role', 'arn:aws:iam:::role/') Then I assigned the crossAccountSourceReadRole variable to the role on CodeCommitSourceAction and it deployed with no changes. It keeps the information in an encrypted format. Secrets are recommended for storing sensitive pieces of information in the GitHub repo.

