Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 21, 2024

Conversation

itchyny
Copy link
Contributor

@itchyny itchyny commented Mar 6, 2024

Before the commit fe8a7a4, 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.

… found

Before the commit fe8a7a4, 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
Copy link
Contributor Author

itchyny commented Mar 15, 2024

@acchou Could you take a look?

@itchyny
Copy link
Contributor Author

itchyny commented May 2, 2024

@acchou Gentle ping?

@acchou acchou merged commit 7f716bf into faastjs:master May 21, 2024
1 check passed
@itchyny
Copy link
Contributor Author

itchyny commented May 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants