Skip to content

Cannot Set AWS_ENDPOINT_URL_S3 Without DNS Mapping #113

@ewx-mjanda

Description

@ewx-mjanda

For the use case where the localstack instance is on a remote server, the environment variables AWS_ENDPOINT_URL and AWS_ENDPOINT_URL_S3 must be set. It should be noted that this requirement appears to have been added when LOCALSTACK_HOSTNAME was deprecated. The problem with setting the AWS_ENDPOINT_URL_S3 variable is the additional requirement that the "server" be in the format of s3.servername.domain which will never resolve correctly without a DNS mapping.

aws-cdk-local version: 3.0.1

Error messages when trying to bootstrap the localstack environment (S3 upload errors):

XXXXXXStack: fail: getaddrinfo ENOTFOUND cdk-hnb659fds-assets-000000000000-us-east-1.s3.servername.domain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions