Document or provide mechanism to set --endpoint like aws cli
It would be useful if awless had a mechanism to set the endpoint (and region for signature reasons) to be able to use awless against localstack (https://github.com/localstack/localstack) for testing.
For instance, this works with aws cli:
export AWS_ACCESS_KEY_ID=localstack
export AWS_SECRET_ACCESS_KEY=localstack
aws --endpoint-url=http://localhost:4576 --region us-east-1 sqs create-queue --queue-name testq
{
"QueueUrl": "http://localhost:4576/queue/testq"
}
Where awless appears to not accept --endpoint or --endpoint-url:
awless list queues --endpoint-url http://localhost:4576 --aws-region us-east-1
... usage info/error...
awless list queues --endpoint http://localhost:4576 --aws-region us-east-1
... usage info/error...
awless list queues --aws-endpoint http://localhost:4576 --aws-region us-east-1
... usage info/error...
awless list queues --aws-endpoint-url http://localhost:4576 --aws-region us-east-1
... usage info/error...
Am I missing something in the docs or is this not an available feature? I did not find a documented feature looking through the CLI docs/help output, while it looks like this may be configurable at the code level.
Thanks for the suggestion. Indeed, we are looking at localstack for testing purposes as well.
It would be awesome to have the support
Are there any plans to implement this ?
Also interested in this. Thanks.