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

auto-generated role name too long, but managing manual role names too brittle #77

Open
startakovsky opened this issue Apr 16, 2021 · 2 comments

Comments

@startakovsky
Copy link

Hello,

So, I got the error that the auto-generated IAM-Role-Statements-Name was too long so I made my own. I took good care to make this a unique name indicating the region, the name of the stack etc. It seems that changing the name is nontrivial and ends up putting the stack in a weird place.

So my question is, is there a way to manipulate the maximum length of the unique role name so that I don't have to worry about it since the permissions are for this lambda function only?

Thanks,
Steven

@Enase
Copy link
Collaborator

Enase commented Apr 16, 2021

The answer is no. It is a duplicate of #38 etc.

There is an idea to resolve it in this way #34 / #35

You may help community and finish the work in progress.

@startakovsky
Copy link
Author

Thanks @Enase I had a look at those issues, but I do not think this solves things. If I use the PR I would still want to put a unique stack and region identifier and ultimately my issue is doing anything manual, because it is not easily modifiable and requires direct interaction with IAM in AWS itself.

So, I guess the request to shorten the auto-generated name to comply with AWS/provider conventions is not possible and I assume metadata cannot be utilized so that the iam role name cannot simply be some randomly generate ID.

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

2 participants