Skip to content

ec2-metadata writes error messages to stdout #28

@nmeyerhans

Description

@nmeyerhans

In cases where IMDS is disabled or otherwise unreachable, ec2-metadata prints an error messages beginning with [ERROR] Could not get IMDSv2 token. to stdout. This should go to stderr instead in order to avoid causing confusion for tools trying to consume the output of this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions