Thread
#kotless
    a

    AnnoymousGiraf

    1 year ago
    Hey all is there anyway i can specify a specific iam role with the config?
    TanVD

    TanVD

    1 year ago
    Only via terraform extensions 😃
    BTW, what is the use case? Maybe Kotless just lacks an annotations for resources in your case
    a

    AnnoymousGiraf

    1 year ago
    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
    TanVD

    TanVD

    1 year ago
    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

    AnnoymousGiraf

    1 year ago
    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 ?
    TanVD

    TanVD

    1 year ago
    Right now you can use terraform extensions functionality to extend generated code with additional assignment )