{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24819","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24819/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24819/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24819/events","html_url":"https://github.com/saltstack/salt/issues/24819","id":89458187,"number":24819,"title":"s3 get doesn't work if your s3 server doesn't support https://{bucket}.{service_url} style urls","user":{"login":"porterjamesj","id":2532521,"avatar_url":"https://avatars.githubusercontent.com/u/2532521?v=3","gravatar_id":"","url":"https://api.github.com/users/porterjamesj","html_url":"https://github.com/porterjamesj","followers_url":"https://api.github.com/users/porterjamesj/followers","following_url":"https://api.github.com/users/porterjamesj/following{/other_user}","gists_url":"https://api.github.com/users/porterjamesj/gists{/gist_id}","starred_url":"https://api.github.com/users/porterjamesj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porterjamesj/subscriptions","organizations_url":"https://api.github.com/users/porterjamesj/orgs","repos_url":"https://api.github.com/users/porterjamesj/repos","events_url":"https://api.github.com/users/porterjamesj/events{/privacy}","received_events_url":"https://api.github.com/users/porterjamesj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/saltstack/salt/labels/RIoT","name":"RIoT","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2406,"closed_issues":2183,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-22T16:28:24Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-06-19T03:52:05Z","updated_at":"2015-06-22T16:28:52Z","closed_at":null,"body":"We interanlly use a few different storage systems with s3 compliant APIs, many of which only respond to `https://{service_url}/{bucket}/{key}`, as opposed to `https://{bucket}.{service_url}/{key}`. The salt code for s3 interaction is [hardcoded to use the later](https://github.com/saltstack/salt/blob/0245ea1b580a2be453bb1957d0aa6a7de26fa1c5/salt/utils/s3.py#L81), which prevents us from using `s3://` urls in `file.managed`, `docker.loaded`, etc. It would be nice to at least be able to configure this. I noticed this module is also [hardcoded to use https](https://github.com/saltstack/salt/blob/0245ea1b580a2be453bb1957d0aa6a7de26fa1c5/salt/utils/s3.py#L146), it would be nice to be able to configure it for plain http in some cases."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/114171686","html_url":"https://github.com/saltstack/salt/issues/24819#issuecomment-114171686","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24819","id":114171686,"user":{"login":"porterjamesj","id":2532521,"avatar_url":"https://avatars.githubusercontent.com/u/2532521?v=3","gravatar_id":"","url":"https://api.github.com/users/porterjamesj","html_url":"https://github.com/porterjamesj","followers_url":"https://api.github.com/users/porterjamesj/followers","following_url":"https://api.github.com/users/porterjamesj/following{/other_user}","gists_url":"https://api.github.com/users/porterjamesj/gists{/gist_id}","starred_url":"https://api.github.com/users/porterjamesj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porterjamesj/subscriptions","organizations_url":"https://api.github.com/users/porterjamesj/orgs","repos_url":"https://api.github.com/users/porterjamesj/repos","events_url":"https://api.github.com/users/porterjamesj/events{/privacy}","received_events_url":"https://api.github.com/users/porterjamesj/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T16:28:52Z","updated_at":"2015-06-22T16:28:52Z","body":"If I have time I might just submit a PR :)"}}