Skip to content

localstack goes with single port #16

Description

@ozbillwang

the latest release of localstack supports single port 4566 for all local endpoint services localhost:4566

How can I set it in aws cli configuraiton?

From

$ more ~/.aws/credentials
# localstack test
# https://github.com/localstack/localstack
[localstack]
region                = ap-southeast-2
aws_secret_access_key = localstack
aws_access_key_id     = localstack

$ more ~/.aws/config
[plugins]
endpoint = awscli_plugin_endpoint

# https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html
[profile localstack]
apigateway =
    endpoint_url = http://localhost:4567
kinesis =
    endpoint_url = http://localhost:4568
dynamodb =
    endpoint_url = http://localhost:4569
s3 =
    endpoint_url = http://localhost:4572
firehose =
    endpoint_url = http://localhost:4573
lambda =
    endpoint_url = http://localhost:4574
sns =
    endpoint_url = http://localhost:4575
sqs =
    endpoint_url = http://localhost:4576
redshift =
    endpoint_url = http://localhost:4577
elasticsearch =
    endpoint_url = http://localhost:4578
ses =
    endpoint_url = http://localhost:4579
route53 =
    endpoint_url = http://localhost:4580
cloudformation =
    endpoint_url = http://localhost:4581
cloudwatch =
    endpoint_url = http://localhost:4582
ssm =
    endpoint_url = http://localhost:4583
secretsmanager =
    endpoint_url = http://localhost:4584
stepfunctions =
    endpoint_url = http://localhost:4585
eventbridge =
    endpoint_url = http://localhost:4587
sts =
    endpoint_url = http://localhost:4592
iam =
    endpoint_url = http://localhost:4593
ec2 =
    endpoint_url = http://localhost:4597
kms =
    endpoint_url = http://localhost:4599

to

$ more ~/.aws/config
[plugins]
endpoint = awscli_plugin_endpoint

[profile localstack]
endpoint_url = http://localhost:4566

aws/aws-cli#1270 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions