@pytest.fixture()
def ec2_instance_without_role(ec2_client):
    ec2_client.run_instances(ImageId='ami-1234-foobar', MinCount=1, MaxCount=1)
    instances = ec2_client.describe_instances(Filters=[{'Name': 'image-id', 'Values': ['ami-1234-foobar']}])['Reservations'][0]['Instances']
    return instances[0]['InstanceId']
@pytest.fixture()
def ec2_instance_without_role(ec2_client):
    ec2_client.run_instances(ImageId='ami-1234-foobar', MinCount=1, MaxCount=1)
    instances = ec2_client.describe_instances(Filters=[{'Name': 'image-id', 'Values': ['ami-1234-foobar']}])['Reservations'][0]['Instances']
    return instances[0]['InstanceId']