# This defines the lambda functions used to handle the object permissions in the shared S3 Bucket for source and destination # THIS CODE IS NOT FOR PRODUCTIVE USE. TEST/TRANING CODE ONLY # (c) by David Surey - Amazon Web Services EMEA SARL # 10/2019 - suredavi@amazon.com ######### source bucket lambda construct ########## # Create the role for the source lambda function resource "aws_iam_role" "crossiam_for_sourcelambda" { name = "crossiam_for_sourcelambda" provider = aws.storage assume_role_policy = <