You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
executing sam validate fails on serverless-application-model/examples/2016-10-31/api_backend/template.yaml
Steps to reproduce the issue:
1.execute "sam validate" on serverless-application-model/examples/2016-10-31/api_backend/template.yaml
Observed result:
sam template fails validation with following:
Error: [InvalidResourceException('GetFunction', "Policy at index 0 in the 'Policies' property is not valid"), InvalidResourceException('PutFunction', "Policy at index 0 in the 'Policies' property is not valid"), InvalidResourceException('DeleteFunction', "Policy at index 0 in the 'Policies' property is not valid")] ('DeleteFunction', "Policy at index 0 in the 'Policies' property is not valid") ('GetFunction', "Policy at index 0 in the 'Policies' property is not valid") ('PutFunction', "Policy at index 0 in the 'Policies' property is not valid")