Hey all is there anyway i can specify a specific i...
# kotless
a
Hey all is there anyway i can specify a specific iam role with the config?
t
Only via terraform extensions :)
BTW, what is the use case? Maybe Kotless just lacks an annotations for resources in your case
a
what do you mean lack annotations? our use case it that the Lamda needs specific IAM role that it is not stored loccaly. you rekon we can use some libary with Kotless or to move on to CDK which works fine for us in the meantime
t
Hm, is that role already exist in cloud? Should it be applied to all routes inside application or only to some of them? It is possible to add inside Kotless annotation that will assign to lambda specific IAM role :) But it is not supported right now
a
it is already created, since we work at a bank we cant just create roles on the fly. how can i assign the IAM to the lambda ?
t
Right now you can use terraform extensions functionality to extend generated code with additional assignment )