GetAttResolvers not found in params file
NateWritesCode opened this issue · 2 comments
Thank you to all contributors for this library! I am having trouble getting my resolvers to run with the following setup in my serverless.yml file. I think I need to make a change to the getAttMap option in the custom section but I'm not sure how to resolve it. Any advice on how to resolve this?
My dataSources gets the IAMRole Arn like so:
dataSources:
- type: AWS_LAMBDA
name: getBorrower
config:
functionName: getBorrower
serviceRoleArn: { Fn::GetAtt: [AWSAppSyncIAMRole, Arn] }
This gives the following error:
Fn::GetAttResolvers not found in params file: AWSAppSyncIAMRole
For reference, the resources part of my serverless.yml file.
resources:
Resources:
AWSAppSyncIAMRole:
Type: AWS::IAM::Role
@NathanH81 is this blocking?
I think this is related to #41
This message should be a warning only. As far as service role and policies are concerned, they are not necessary by the simulator and the warning can be ignored. The simulator should still work though.
Could you share your experience and explain what is happening exactly?
Yes, you are right. The errors ended up being non-blocking. I initially thought they were blocking. But good to know the errors can be safely ignored. Thank you for your help.