FormidableLabs / terraform-aws-serverless

Infrastructure support for Serverless framework apps, done the right way
https://registry.terraform.io/modules/FormidableLabs/serverless/aws
MIT License
144 stars 19 forks source link

Fix role ARN bug and use IAM variables #57

Closed tptee closed 5 years ago

tptee commented 5 years ago

The ARN for the Lambda role was completely broken, missing the iam segment and duplicating the partition segment. This PR fixes that and loosens the ARN to use IAM versions of variables.

Tested in development env.