This code allows deploying Lambda using an existing role (instead of creating a new one).
No policy needed
Use role name
Note: tried to update new test for this functionality, but got some problems (too deep recursion) on placebo package. Anyways, editing the foo/kappa.yml to use a role instead of a policy worked (tests passed).
This code allows deploying Lambda using an existing role (instead of creating a new one).
Note: tried to update new test for this functionality, but got some problems (too deep recursion) on
placebo
package. Anyways, editing the foo/kappa.yml to use a role instead of a policy worked (tests passed).A kappa.yml example would be: