Because you’re trying to use the ARN in the resources section (which is just CloudFormation) you can use the intrinsic function GetAtt.
Here’s what you need for your RoleARN:
RoleARN:
Fn::GetAtt: [ IamRoleLambdaExecution, Arn ]
Because you’re trying to use the ARN in the resources section (which is just CloudFormation) you can use the intrinsic function GetAtt.
Here’s what you need for your RoleARN:
RoleARN:
Fn::GetAtt: [ IamRoleLambdaExecution, Arn ]