claranet / terraform-aws-lambda

Terraform module for AWS Lambda functions
MIT License
157 stars 127 forks source link

New feature - Additional trust relashionships #59

Closed fabrizioromanelli closed 4 years ago

fabrizioromanelli commented 4 years ago

This branch features the possibility to add additional trust relationships to the Lambda role. These trust relationships are added to the lambda.amazonaws.com (and edgelambda.amazonaws.com if lambda_at_edge is true). Tests for the new feature are provided as well.

raymondbutcher commented 4 years ago

Hi @fabrizioromanelli,

This looks good to me, but what do you think of var.trusted_entities instead? I think that's what they're referred to as in the docs.

fabrizioromanelli commented 4 years ago

Sure, I absolutely agree with you!

raymondbutcher commented 4 years ago

Thanks!