Missing MSK service icon within Lambda Function 'Add Trigger' dropdown

0

For any existing lambda function, if we want to create a KafkaEvent trigger, by selecting ‘Add Trigger’, the MSK service icon is not available in the dropdown.

There is also another way to reproduce the issue that involves the AWS CLI command version of the above.

Also, when executing an AWS CLI command to create a lambda function KafkaEvent event-mapping (trigger), we receive an error that the Kafka portion of the ARN is unsupported. An example of the Kafka event mapping command is below:

aws lambda create-event-source-mapping --event-source-arn arn:aws-us-gov:kafka:us-gov-west-1:99999999999:cluster/xxxxx-cluster-2/9a47c865-bb3a-482d-b289-0174b9ed63b5-2 --topics MSKXXXXXTopic-2 --starting-position LATEST --function-name serverless-kafka-consumer-lambda-dev-datasourceConsuming

The error received for the above command is the following:

An error occurred (InvalidParameterValueException) when calling the CreateEventSourceMapping operation: Unsupported source arn : arn:aws-us-gov:kafka:us-gov-west-1:999999999999:cluster/xxxxxx-cluster-2/9a47c865-bb3a-482d-b289-0174b9ed63b5-2

All of the above pertains to my employer's GOV cloud account. However, in my personal AWS account, I do not have this problem. I can see the MSK icon in the 'Add Trigger' dropdown.

已提問 2 年前檢視次數 100 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南