Skip to content

S3 doesn't work if AWS metadata is blocked on kubernetes. #4122

@empath-nirvana

Description

@empath-nirvana

Expected Behavior

This is the issue I'm experiencing, but the issue is closed and the problem still exists in the latest version.

#3492

It should be able to pull the region and anything else it needs from well known environment variables, but it doesn't. (I have AWS_REGION set as an environment variable and it doesn't work, for example)

Current Behavior

Steps to reproduce

Configure as mentioned in the ticket, but with aws metadata blocked on the node.

Specifications

  • Version:
  • Platform: eks
  • Subsystem:

Possible Solution

Initialize the s3 client in a way that it will use well known aws environment variables like AWS_REGION if metadata isn't available.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions