Files
releases/plugins
Anders Eknert c30494e7a0 plugins/rest/aws: debug log metadata error (#4061)
A user on Slack is getting 500 responses from the AWS metadata API
using a configuration like the below:

```yaml
 services:
  - name: svc-bundle
    url: https://opa-policies-dev.s3.amazonaws.com
    credentials:
      s3_signing:
        metadata_credentials:
          aws_region: us-east-1
          iam_role: arn:aws:iam::1234:role/opa-bundles
```
It's really hard to know why this might be given how we currently
only log the HTTP status code under this error condition.

This tries to print the response body on debug level (if set).

Signed-off-by: Anders Eknert <anders@eknert.com>
2021-11-29 13:18:46 +01:00
..
2021-10-14 09:31:16 -07:00
2021-10-14 09:31:16 -07:00
2021-10-14 09:31:16 -07:00