Skip to content
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

Athens/docker on aws EC2 not picking up instance role for S3 Permissions #1703

Open
thomasrutkowski opened this issue Mar 12, 2021 · 3 comments · Fixed by #1708
Open

Athens/docker on aws EC2 not picking up instance role for S3 Permissions #1703

thomasrutkowski opened this issue Mar 12, 2021 · 3 comments · Fixed by #1708

Comments

@thomasrutkowski
Copy link

Describe the bug
When running Athens from the official docker container, Athens will not catch the instance role credentials unless AWS_USE_DEFAULT_CONFIGURATION is set to true.

To Reproduce
Steps to reproduce the behavior:
Add instance role to instance, start athens from docker and set S3 environment without setting any credentials.

Expected behavior
Athens should start and pick up the instance role when no other credentials are provided.
Since AWS_USE_DEFAULT_CONFIGURATION is slated for depreciation it should work without setting that env var.

Environment (please complete the following information):

  • OS: RHEL8
  • Go version : none on host system
  • Proxy version : latest
  • Storage (fs/mongodb/s3 etc.) : S3
@thomasrutkowski
Copy link
Author

This isssue is NOT resolved by #1708.

Documentation does not solve the problem that instance roles are only be used when setting a configuration value slated for depreciation as true. #1708 only states to use that config. This is for resolving the underlying problem and should be reopened.

@marwan-at-work
Copy link
Contributor

@thomasrutkowski happy to re-open, although setting the env var seems like a low lift. Any suggestions on how to resolve the underlying problem without having to set the env var?

@thomasrutkowski
Copy link
Author

thomasrutkowski commented Mar 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants