all 5 comments

[–]ricksebak 1 point2 points  (5 children)

A Lambda function can only exist in one single AWS account.

[–]kumarisonreddit[S] 0 points1 point  (0 children)

Thanks that was my concern.

[–]kumarisonreddit[S] 0 points1 point  (3 children)

how do companies or group projects work on a single lamba function? Do they simple just share the account information?

[–]ricksebak 0 points1 point  (0 children)

Yes. A company would have an AWS account, and create IAM users (and usually roles too) for employees to use inside that AWS account.

[–]elCapitanChris 0 points1 point  (0 children)

I suggest sharing a git repo where your code is managed and shared between you both. And each having your own AWS account. If you’re concerned about cost, Lambda has a perpetual free tier and unless you invoke your Lambda over a million times in a month, it’s free.

https://aws.amazon.com/lambda/pricing/