Closed thomasmitchell closed 4 years ago
Describe the bug
we assign use_instance_profile to a temporary variable and then never assign it to the field in the Endpoint object here. As a result, IAM Instance Profile support is never really activated and the plugin complains that you haven't provided access key/secret key https://github.com/shieldproject/shield/blob/cc2d8c92772f6c3f19a3d7ab125e4bda61d8fc82/plugin/s3/plugin.go#L266
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
I expected the plugin to use the IAM Instance Profile associated with the EC2 instance.
Screenshots If applicable, add screenshots to help explain your problem.
SHIELD versions (please complete the following information):
Browser version(s) (please complete if reporting a web UI bug):
Additional context
The fix should just be assigning the variable properly, but this requires some AWS time to actually test.
I've ruled out that the issue is precisely what I've listed here, and I'm unable to reproduce the underlying behavior at this time. Closing this out until it rears its ugly head in some form.
Describe the bug
we assign use_instance_profile to a temporary variable and then never assign it to the field in the Endpoint object here. As a result, IAM Instance Profile support is never really activated and the plugin complains that you haven't provided access key/secret key https://github.com/shieldproject/shield/blob/cc2d8c92772f6c3f19a3d7ab125e4bda61d8fc82/plugin/s3/plugin.go#L266
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
I expected the plugin to use the IAM Instance Profile associated with the EC2 instance.
Screenshots If applicable, add screenshots to help explain your problem.
SHIELD versions (please complete the following information):
Browser version(s) (please complete if reporting a web UI bug):
Additional context
The fix should just be assigning the variable properly, but this requires some AWS time to actually test.