aws 2022-08-10

anyone knows about this?

Execution error (ExceptionInfo) at cognitect.aws.service/service-description (service.clj:33).
Cannot find resource cognitect/aws/sqs-client/service.edn.

Type in your deps and your client construction expression @d.ian.b

typo in client build

(aws/client {:api :some-typo
             :credentials-provider creds})

that was the thing caused the error

kinda cryptic, for this, right?

"data": {
        "ErrorResponse": {
            "Error": {
                "Type": "Sender",
                "TypeAttrs": {},
                "Code": "AccessDenied",
                "CodeAttrs": {},
                "Message": "Access to the resource  is denied.",
                "MessageAttrs": {},
                "Detail": null,
                "DetailAttrs": {}
            },
            "ErrorAttrs": {},
            "RequestId": "d16a1885-6555-51c5-93c9-43e8ddbaae75",
            "RequestIdAttrs": {}
        },
        "ErrorResponseAttrs": {
            "xmlns": ""
        },
        "cognitect.anomalies/category": "cognitect.anomalies/forbidden"
    },

In terraform I have

{
      "Effect": "Allow",
      "Action": [
        "SQS:SendMessage",
        "SQS:ReceiveMessage"
      ],
      "Resource": "${my_events_q_arn}"
    },

though that it would be alright this