faastjs / faast.js

Serverless batch computing made simple.
https://faastjs.org
Apache License 2.0
1.48k stars 43 forks source link

fix(aws): fix ensureRoleRaw to skip role creation when cached role is found #1346

Closed itchyny closed 5 months ago

itchyny commented 8 months ago

Before the commit fe8a7a4286597a2f2cd4b7ee5f4a61902f2a8eb4, initialization process skips creating default role if the cached lambda role is found. Currently it always tries to create role, so it fails if the User is not allowed to create a role. We want to minimize the privilege, by creating the cached role beforehand.

itchyny commented 7 months ago

@acchou Could you take a look?

itchyny commented 6 months ago

@acchou Gentle ping?

itchyny commented 5 months ago

@acchou Thanks for merging. I'd like to see a new release.

itchyny commented 4 months ago

@acchou Any chance to get a new release? Thanks.