sideshowbandana / k8s-sqs-autoscaler

Kubernetes pod autoscaler based on queue size in AWS SQS
71 stars 27 forks source link

add --sqs-queue-name option... #4

Open danmaas opened 6 years ago

danmaas commented 6 years ago

...to identify the SQS queue by name instead of by URL.

This avoids the need to hard-code the AWS account ID into an environment variable. Instead we can fetch the queue URL using the SQS API via implicit IAM credentials.

The existing --sqs-queue-url option takes priority, if present, to preserve compatibility.