-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading artifact hosted in S3 returns a 403 despite IAM role being properly configured. #1113
Comments
I also reported the likely underlined cause at hashicorp/go-getter#22 |
@c4milo I just vendored the change so if you build from master we can see if this is resolved 👍 |
@dadgar works well. Thank you Alex! |
@dadgar, I'm seeing this problem again with 0.4.0 |
To make sure it wasn't my fault, I manually tested using https://github.com/rlmcpherson/s3gof3r and it downloaded the artifacts correctly. However, nomad does not and returns the following: |
@c4milo Did anything change on your end since you marked it as closed? We haven't changed go-getter so wondering if there is another underlying bug in that library |
@dadgar I haven't changed any of my configurations. I only upgraded nomad to the latest changes in master branch and redeployed it. |
oh wait, I think the URL format for artifacts caught me again: Instead of: I kept on using |
I'm closing this one in favor of #1219 |
* Fix s3 URLs so that they work Unfortunately, s3 urls prefixed with https:// do NOT work with the underlying go-getter library. As such, this fixes the examples so that they are working examples that won't cause problems for people reading the docs. See discussion in #1113 circa 2016. * Use s3:// protocol schema for artifact examples Per the discussion in #15123, we're going to use the explicit s3 protocol in the examples since that is the likeliest to work in all scenarios
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Output from
nomad version
0.3.1
Operating system and Environment details
Linux
Issue
Downloading artifact hosted in S3 returns a 403 despite IAM role being properly configured.
Reproduction steps
The text was updated successfully, but these errors were encountered: