def METHOD_NAME(image_id, image_type):
    return InstanceDefinition(
        name="test-vm-1",
        image_id=image_id,
        type=image_type,
        user_name="tester",
        ssh_key=KeyStore().get_ec2_ssh_key_pair(),
        tags={'test-tag': 'test_value'},
        user_data=[PrintingTestUserDataObject()]
    )