Published On Premiered May 16, 2023
Cross account IAM. How to use IAM role from another AWS account. Hands-On Tutorials for Amazon Web Services (AWS).
IAM roles are a powerful tool for managing access to AWS resources,
but they can be tricky to set up and use. Today I will show you how lambda function can use a role from another AWS account.
In one AWS account, you can create a lambda function and assign a role as usual. However, you can create a new IAM role in a completely different AWS account and let the lambda function use it. You can control another AWS account using the Lambda function.
In the video I will use python 3.10 and boto3.
TIMESTAMPS
---------------------------------------------------
0:00 Introduction & Theory
2:11 Account A - IAM role
3:20 Account B - IAM role
4:50 Account A - Lambda Function
7:46 Account A - Test
You can find more tips on my YouTube channel and on my blog https://lepczynski.it/en.
Don't miss the next video:
🔔 SUBSCRIBE: https://www.youtube.com/@WojciechLepc...
FOLLOW ME :
---------------------------------------------------
📓 Blog: https://lepczynski.it/en
🚀 Facebook: / lepczynski.it
⭐️ Twitter: / wlepczynski
💰Amazon affiliate links💰 to the gear I use:
---------------------------------------------------
📷 samsung galaxy s20 FE: https://amzn.to/3pR773K
UK https://amzn.to/3YcmrF7
🎙️ microphone neewer NW-7000: https://amzn.to/3pVEi6s
UK https://amzn.to/3Ojskgc
🎙️ microphone comica CVM-VM10II with Shock Mount, Deadcat: https://amzn.to/3PWuQKB
UK https://amzn.to/457ZTYn
💡 LED light yongnuo yn600 air: US https://amzn.to/3pVNvvt
UK https://amzn.to/43y7dei
💡 LED RGB light yongnuo yn300 air: https://amzn.to/3XWseOG
UK https://amzn.to/3XYiLq1
🦾 gimbal dji om4: https://amzn.to/3Q0Zcvi
UK https://amzn.to/46UOT1Z
☂️ cheapest white photo umbrella: https://amzn.to/3K4VYDg
UK https://amzn.to/3Oj9G84
🔭 camera tripod 74": https://amzn.to/3DkPLzA
UK https://amzn.to/46W3UAw
🔭 cheap light tripod 82": https://amzn.to/3rCpNoi
UK https://amzn.to/44P527f
#aws #lambda #iam #demo #tutorial
🎵 Do you want to make videos on YouTube? I know a great place where you can download music for free after creating a free account. Referral link:
https://uppbeat.io/?referral=wojciech...
Music from #Uppbeat (free for Creators!):
https://uppbeat.io/t/danger-lion-x/th...
License code: DE0L7ADEZNHZJJOU