def init_role_arn()

in Onboarding/AWS/GrantAccessToEksClusters.py [0:0]


def init_role_arn(session: boto3.Session, args: argparse.Namespace) -> str:
    role_to_map = args.role_arn.format(get_account_id(session))
    print(f"The script will create iamidentitymapping between {role_to_map} to system:masters group")
    return role_to_map