@pytest.fixture()
def iam_role_arn(iam_client, iam_policy, iam_role_name, instance_profile_name) -> Tuple[(Any, Dict[(str, Any)])]:
    resp = iam_client.create_role(RoleName=iam_role_name, AssumeRolePolicyDocument=dumps(iam_policy))
    instance_profile_resp = iam_client.create_instance_profile(InstanceProfileName=instance_profile_name)
    iam_client.add_role_to_instance_profile(InstanceProfileName=instance_profile_name, RoleName=iam_role_name)
    instance_profile_resp = instance_profile_resp.get('InstanceProfile')
    return (resp['Role']['Arn'], {'Name': instance_profile_resp.get('InstanceProfileName'), 'Arn': instance_profile_resp.get('Arn')})
@pytest.fixture()
def iam_role_arn(iam_client, iam_policy, iam_role_name, instance_profile_name) -> Tuple[(Any, Dict[(str, Any)])]:
    resp = iam_client.create_role(RoleName=iam_role_name, AssumeRolePolicyDocument=dumps(iam_policy))
    instance_profile_resp = iam_client.create_instance_profile(InstanceProfileName=instance_profile_name)
    iam_client.add_role_to_instance_profile(InstanceProfileName=instance_profile_name, RoleName=iam_role_name)
    instance_profile_resp = instance_profile_resp.get('InstanceProfile')
    return (resp['Role']['Arn'], {'Name': instance_profile_resp.get('InstanceProfileName'), 'Arn': instance_profile_resp.get('Arn')})