-
Notifications
You must be signed in to change notification settings - Fork 58
Added supported for iamManagedPolicies #19
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
base: master
Are you sure you want to change the base?
Added supported for iamManagedPolicies #19
Conversation
Pull Request Test Coverage Report for Build 73
💛 - Coveralls |
|
Thanks for contributing. Can you also add a small unit test to verify this feature. |
|
Sure thing. I'll add the unit tests this week. |
|
@emilhdiaz Are you still working on this? I'm interested in the same feature, I might be able to finish this PR if needed. |
|
Again is this being worked on still? Would be awesome to have this feature! |
|
It seems to be stuck. Open for contributions on this. |
|
My apologies, I'll try to pick this up again next week. |
|
Hi @emilhdiaz, |
|
@ChristopheBougere TBH haven't had a chance to get back to this. Would welcome the help to finally push this out. |
|
what is missing to merge it? |
|
I would also love to see this feature! |
@emilhdiaz there is a MR against your MR wich adds the missing test. Could you please look into it? |
…evel (was rebased from functionalone#19 on top of functionalone#25)
|
Hello @glicht being really interested by the iamManagedPolicies support, I took care to refresh the stalled work from @emilhdiaz I rebased it on top of master, solved conflict and added tests for the feature, here is a preview:
Would you prefer that I open another PR or do you have an alternative in mind? Note that CI on latests serverless is broken, this is linked to this PR: https://github.com/serverless/serverless/pull/7722/files |
…ies-and-godies ⚖️ Support for iam managed policies and goodies: - Introduce support for `iamManagedPolicies` - Contains reworked functionalone#19 with some extras (tests, duplication safeguard, prepare for git install)
|
Hello @glicht and all, Trying my chance again, I have a working version that handles iamManagedPolicies Currently made a fully function fork there CoorpAcademy/serverless-granular-iam 🐙 + serverless-granular-iam 📦, and using it. So, I'm just waiting for you to tell me how I should submit the changes (new pull request or else) ❔ Best regards |
|
I reiterate my proposal to update the Pr, to make it work on serverless v2 now that the plugin has been recently adapted to support that. As stated, CoorpAcademy/serverless-granular-iam 🐙 + serverless-granular-iam 📦 is not intended to be persistent, and it would be far better that the feature lands in the repo. Please tell me what course of action you would prefer. Best regards |
|
(ps: and I just saw #60 by @nl-brett-stime, didn't saw earlier as no notification received as |
This PR adds support for
iamManagedPoliciesat the provider and function level.I took the liberty to reorganize a small section of the code to make the
createRoleForFunctionmethod easier to follow.Happy to make edits to the documentation and unit tests if you agree with the general approach here.