Fork me on GitHub
#portkey
<
2017-09-21
>
viesti15:09:09

@cgrand was looking at the question of “why no check of function-policy here?“: https://github.com/portkey-cloud/portkey/blob/master/src/main/clojure/portkey/core.clj#L468

viesti15:09:11

had to read what I had done, but reason probably was that lambda/import-rest-api is branch where we create the API for the first time

viesti15:09:50

meaning that there wasn’t an api, at least not with name portkey

viesti15:09:52

so figuring that the lambda function should then not have invoke permission for principal

viesti15:09:45

should probably really parse output of lambda/get-policy and check that there is a statement that allows to invoke the function

viesti15:09:06

current version fails if there is another policy attached…

cgrand15:09:37

emacs tricks...

viesti18:09:37

> Could not find artifact portkey:aws-clj-sdk:jar:0.1.0-SNAPSHOT in clojars (https://clojars.org/repo/)

viesti18:09:49

:thinking_face: