-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PreCreatedIAMRole no longer working in 1.2.0 #793
Comments
Looks like a bug to me. |
This stems from the fact that
The packager should probably not try to generate a |
@kadrach Yep that's exactly it, thanks for looking into it. |
We need a noop method for precreated roles in the template generator. This was missed in testing because the models were directly passed to the template generator instead of using the dependency builder. In this case we were only passing the LambdaFunction resource to the template generator, but in reality we'd also pass the `models.IAMRole` resource as well because it's a dependency of the lambda function. Fixes aws#793.
Add to
.chalice/config.json
:This used to be implemented, and I can't find any mention of it in the changelog, so assume this is a bug :)
The text was updated successfully, but these errors were encountered: