refined-appointment-588410/08/2021, 3:56 AM
little-cartoon-1056910/08/2021, 4:08 AM
grantAcctionRole(role: aws.iam.Role, group: aws.iamGroup)
grantAcctionRole(roleName: string, role: aws.iam.Role, groupName: string, group: aws.iam.Group)
refined-appointment-588410/08/2021, 4:22 AM
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.