Giter Club home page Giter Club logo

loft's Introduction

Barry's blog

Nothing to find in the readme. Just notes to self on how to run Jekyll.

Prepare local dev env

bundle

Update dependencies

bundle update

Run locally

bundle exec jekyll serve

loft's People

Contributors

bapostma avatar

Watchers

 avatar

Forkers

jforsb

loft's Issues

Absent 'To:' header causes exception and message to DLQ

Incoming messages that lack a To: header (e.g. To: undisclosed receipients;) are placed in the right S3 bucket but not synced via email. An exception is raised and the notification is DLQ'd. It seems the bucket is inferred from SES metadata whereas data for the database is taken from the email message headers.

Value cannot be null. (Parameter 'source'): ArgumentNullException
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Loft.Function.Models.DynamoDB.EmailMessage..ctor(SimpleEmailService`1 message) in /home/runner/work/Loft/Loft/src/Loft.Function/Models/DynamoDB/EmailMessage.cs:line 45
   at Loft.Function.Handlers.DynamoStorageHandler.Handle(SimpleEmailService`1 message, ILambdaContext context) in /home/runner/work/Loft/Loft/src/Loft.Function/Handlers/DynamoStorageHandler.cs:line 32
   at Loft.Function.Handlers.HandlerBase.Next(SimpleEmailService`1 message, ILambdaContext context) in /home/runner/work/Loft/Loft/src/Loft.Function/Handlers/HandlerBase.cs:line 20
   at Loft.Function.Handlers.S3ArchiveHandler.Handle(SimpleEmailService`1 message, ILambdaContext context) in /home/runner/work/Loft/Loft/src/Loft.Function/Handlers/S3ArchiveHandler.cs:line 39
   at Loft.Function.Handlers.HandlerBase.Next(SimpleEmailService`1 message, ILambdaContext context) in /home/runner/work/Loft/Loft/src/Loft.Function/Handlers/HandlerBase.cs:line 20
   at Loft.Function.Handlers.CloudWatchLogHandler.Handle(SimpleEmailService`1 message, ILambdaContext context) in /home/runner/work/Loft/Loft/src/Loft.Function/Handlers/CloudWatchLogHandler.cs:line 19
   at Loft.Function.LambdaFunction.FunctionHandler(SQSEvent sqsEvent, ILambdaContext context) in /home/runner/work/Loft/Loft/src/Loft.Function/LambdaFunction.cs:line 71
   at lambda_method(Closure , Stream , Stream , LambdaContextInternal )

Deprecated Lambda managed policy

When attempting to deploy using AWS CloudFormation, I get a CREATE_FAILED event on EmailHandlerExecutionRole. The error message is as follows:
Policy arn:aws:iam::aws:policy/AWSLambdaFullAccess does not exist or is not attachable. (Service: AmazonIdentityManagement; Status Code: 404; Error Code: NoSuchEntity; Request ID: 32156892-91c2-41ae-a75c-5eb90e5bfb77; Proxy: null)

This is likely due to the managed policy AWSLambdaFullAccess having been deprecated on March 1st, and replaced with AWSLambda_FullAccess - https://docs.aws.amazon.com/lambda/latest/dg/access-control-identity-based.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.