refined-appointment-5884
10/08/2021, 3:56 AMlittle-cartoon-10569
10/08/2021, 4:08 AMgrantAcctionRole(role: aws.iam.Role, group: aws.iamGroup)
to grantAcctionRole(roleName: string, role: aws.iam.Role, groupName: string, group: aws.iam.Group)
grantAssumeRole()
to createRoleAndTrustedGroups()
.refined-appointment-5884
10/08/2021, 4:22 AMcreateLambdaFunction()
that returns the execution role, and you would like to use that. You then need to return both the role and the role name from the function, and carry both all over the place whenever you want to actually use that resource.
Basically, it means whenever you create a resource, you need to carry its name around.