Skip to content

Queue mode: missing AWS_REGION attempts to lookup sqs.queue.amazonaws.com and fails #390

@james-callahan

Description

@james-callahan

If I don't set the AWS_REGION environment variable, then the server fails to start with:

RequestError: send request failed\ncaused by: Post \"https://sqs.queue.amazonaws.com/\": dial tcp: lookup sqs.queue.amazonaws.com on 172.20.0.10:53: no such host

This is despite the logs on startup showing me the correct queue-url (partially redacted):

queue-url: https://us-west-2.queue.amazonaws.com/MY_ACCOUNT_ID/node-termination, 

I've worked around this for now by setting AWS_PROFILE=us-west-2, but I shouldn't have to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions