localstack / aws-sam-cli-local

Simple wrapper around AWS SAM CLI for use with LocalStack
Apache License 2.0
48 stars 8 forks source link

Update LOCALSTACK_ENDPOINT to prioritise AWS_ENDPOINT_URL #12

Closed simonrw closed 8 months ago

simonrw commented 8 months ago

Motivation

As part of LocalStack 3.0 we are allowing the use of AWS_ENDPOINT_URL to configure tools. This is being rolled out by AWS across their SDKs. The boto3 SDK (used by aws-sam-cli) already supports this environment variable, however we are explicitly overriding the default in aws-sam-cli-local).

Changes

joe4dev commented 8 months ago

@simonrw Can you also add it to the "Configuration" section in the README and deprecate the old variables?