-
How to fix "PackageNotFoundError: importlib_metadata" error in Serverless AWS Lambda
I was building recently a serverless python microservice and for one of the endpoints i needed to implement jsonschema validation. Locally i have built it, covered with unit tests and everything was working just fine. But when i tried to deploy it to AWS Lambda with serverless framework, i ended…
-
How to run unsigned apps on Mac OS Catalina
I have upgraded my mac to the latest version of Mac OS Catalina and it appears that some software cannot be run anymore because of cannot be opened because the developer cannot be verified error. For example Terraform got this issue . Thanks to community this is easy to fix (thanks…
-
Get Notified when your command in Terminal has finished
Currently i'm working a lot on serverless projects and deploying a new service that has multiple lambda's or event a step function can be time consuming. In this case it was quite often for me to "forget" about the running deploy in the Terminal and get distracted by…
-
Running standalone pact cli in Docker
Pact is is a contract testing tool. Contract testing is a way to ensure that services (such as an API provider and a client) can communicate with each other. Without contract testing, the only way to know that services can communicate is by using expensive and brittle integration tests. In…
-
Small trick on how to find out AWS payload for lambda for event
Recently i was writing a lot of different microservices using AWS Lambda. And for quite some time i was strugling to understand what will be the payload that my lambda will receive. Well, only in cases when this payload was coming from other AWS resources, of course :) Anyway, after quite…
-
Fixing AWS "not authorized to perform: ssm:GetParameter" error in Go lambda
So, i started to learn Go and decided to write some chatbot that for our Slack in order to ask for some routine tasks that we do during testing or development in New10. Before we were using a lot of javascript and serverless, so i took some code snippets from…