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

How can we acheive IAM path per function? #112

Open
cyim02 opened this issue Jun 22, 2022 · 2 comments
Open

How can we acheive IAM path per function? #112

cyim02 opened this issue Jun 22, 2022 · 2 comments

Comments

@cyim02
Copy link

cyim02 commented Jun 22, 2022

I have gone through the doc for this plugin but unable to find how we can add IAM path per function?
Would like to have something like this as feature request~

iamRoleStatementsInherit: true
iamRolePath: /path
@andersquist
Copy link
Collaborator

I'm not sure that I follow.

Could you please describe more in detail what an iamRolePath settings would provide?

@CCYeung-HK
Copy link

Since in AWS IAM, IAM roles can be grouped/organised with IAM path for easier resource permission control. In cloudformation, there is a 'Path' properties that can be specified.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-path

Ideally, with the iamRolePath settings, it could create IAM role per function with the path added:
e.g. arn:aws:iam::{account id}:role/{path}/{role-name}

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

No branches or pull requests

3 participants