Skip to content

Conversation

@javierdelapuente
Copy link
Contributor

Closes: #15427

This PR includes the endpoint_url parameter to the call to boto3.resource for the S3Backend. This allows to use external S3 servers.

I have tested the code against AWS S3 and and also against a local server using Minio. These url formats work correctly:
https://s3.amazonaws.com/<bucket-name>
https://s3.<region-name>.amazonaws.com/<bucket-name>
https://<your-s3-server>/<bucket-name>

Virtual-host-style and s3 protocol (s3://) do not work, but they were not working before this PR.

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremystretch jeremystretch merged commit c5ae89a into netbox-community:develop Apr 17, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data source for Amazon S3 being able to accept S3 compatible server

2 participants