Creates a new, default Lambda execution IAM role to use in favor of the Serverless default role. This prevents the chicken-and-egg problem where terraform-aws-serverless tries to attach IAM policies to the Serverless role that doesn't exist yet.
Added comments in the example serverless.yml in the readme to explain the new role requirement in serverless.yml.
Creates a new, default Lambda execution IAM role to use in favor of the Serverless default role. This prevents the chicken-and-egg problem where
terraform-aws-serverless
tries to attach IAM policies to the Serverless role that doesn't exist yet.Added comments in the example
serverless.yml
in the readme to explain the newrole
requirement inserverless.yml
.Verified full creation and deletion with both the new default role and a custom role from the reference app: https://github.com/FormidableLabs/aws-lambda-serverless-reference/pull/19