I have already created two IAM roles in the AWS account through cloud formation template implementing some standards set by the company like including whitelisting and blacklisting.
I have two lambda functions in serverless.yml and want to assign these two functions individually to each function.
How do i achieve this ?
I commented role definition in the provider section and tried putting role: arn (full arn) within each function, but serverless framwork tries to create that role at the deploy time and get the error…How do i tell serverless framework that do not create roles, just use existing ones.