lamw/vmware-scripts

make_vcsp_2018 : Adding S3 onprem

tkelkermans opened this issue · 2 comments

Hello,

Would it be possible to add a possibility to have it work with an on-prem S3 solution ? So being able to add the url of our S3 solution ?

Thanks

lamw commented

possibly ... you'd have to look at your s3 implementation and APIs it offers up. This is really specific for AWS S3, as we're relying on its API and how it works. The source is there for anyone to try it out :)

Hi

for me i have modify theres lines

    s3 = boto3.resource(        
        service_name='s3',
        endpoint_url='https://s3onprem',
        verify='/pathtocertificate'
        )
    s3_client = boto3.client(        
        service_name='s3',
        endpoint_url='https://s3onprem',
        verify='/pathtocertificate'
        )

Between https://github.com/lamw/vmware-scripts/blob/master/python/make_vcsp_2018.py#L373 and https://github.com/lamw/vmware-scripts/blob/master/python/make_vcsp_2018.py#L377