You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My KEDA cannot get SQS queue metrics, the AWS SQS Queue scaler cannot work as expected.
I installed the KEDA through helm chart and created an IAM role with AssumeRoleWithWebIdentity, so the service account, keda-operator can assume this IAM role. This role has AmazonSQSFullAccess policy attached.
I expected the KEDA can get sqs queue information and auto scaling when necessary.
Actual Behavior
1: the keda did not work since it cannot get metrics from aws sqs queue.
Steps to Reproduce the Problem
1: install keda
2: create an IAM role with AssumeRoleWithWebIdentity
3: attach a AmazonSQSFullAccess policy to the role
4: follow this https://keda.sh/docs/2.0/scalers/aws-sqs/ to finish the autoscaling deployment for one queue
Logs from KEDA operator
2023-07-02T22:52:51Z ERROR scalehandler error getting metric for scaler {"scaledObject.Namespace": "default", "scaledObject.Name": "my-test-scaler", "scaler": "awsSqsQueueScaler", "error": "AccessDenied: User: arn:aws:sts::1234567890:assumed-role/my-keda-sqs/1688338371744324202 is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::1234567890:role/my-keda-sqs\n\tstatus code: 403, request id: d017aff5-0d9e-47b6-9e8a-690b4a70ba09"}
KEDA Version
2.9.1
Kubernetes Version
1.24
Platform
Amazon Web Services
Scaler Details
AWS SQS Queue
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Report
My KEDA cannot get SQS queue metrics, the AWS SQS Queue scaler cannot work as expected.
I installed the KEDA through helm chart and created an IAM role with AssumeRoleWithWebIdentity, so the service account, keda-operator can assume this IAM role. This role has AmazonSQSFullAccess policy attached.
__
Expected Behavior
I expected the KEDA can get sqs queue information and auto scaling when necessary.
Actual Behavior
1: the keda did not work since it cannot get metrics from aws sqs queue.
Steps to Reproduce the Problem
1: install keda
2: create an IAM role with AssumeRoleWithWebIdentity
3: attach a AmazonSQSFullAccess policy to the role
4: follow this https://keda.sh/docs/2.0/scalers/aws-sqs/ to finish the autoscaling deployment for one queue
Logs from KEDA operator
KEDA Version
2.9.1
Kubernetes Version
1.24
Platform
Amazon Web Services
Scaler Details
AWS SQS Queue
Anything else?
No response
The text was updated successfully, but these errors were encountered: