Open ozbillwang opened 4 years ago
the latest release of localstack supports single port 4566 for all local endpoint services localhost:4566
localstack
4566
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
https://github.com/aws/aws-cli/issues/1270#issuecomment-585489375
It's a good idea. Basically you want to have a default endpoint_url for all service endpoint.
the latest release of
localstack
supports single port4566
for all local endpoint serviceslocalhost:4566
How can I set it in aws cli configuraiton?
From
to
https://github.com/aws/aws-cli/issues/1270#issuecomment-585489375