Kinesis metrics uploading to real amazon ip address

I have kinesis starting up in my localstack environment and I can put/get records to the localstack kinesis service. However I am seeing the following in my application logs:

2022-10-04 20:37:49,962 WARN  [ip= rq= ep=] [LogInputStreamReader.java:71][apply:kpl-daemon-0003]  [2022-10-04 20:37:49.961413] [0x00000020][0x0000ffff865ff0b0] [warning] [AWS Log: ERROR](AWSClient)HTTP response code: 403
Resolved remote host IP address: 52.94.217.73
Request ID: 78e7ec1d-89c8-414f-8050-e758bb6656a0
Exception name: InvalidClientTokenId
Error message: The security token included in the request is invalid.
4 response headers:
content-length : 312
content-type : text/xml
date : Tue, 04 Oct 2022 20:37:49 GMT
x-amzn-requestid : 78e7ec1d-89c8-414f-8050-e758bb6656a0
2022-10-04 20:37:49,963 ERROR [ip= rq= ep=] [LogInputStreamReader.java:77][apply:kpl-daemon-0003]  [2022-10-04 20:37:49.961747] [0x00000020][0x0000ffff865ff0b0] [error] [metrics_manager.cc:145] Metrics upload failed. | Code: InvalidClientTokenId | Message: The security token included in the request is invalid. | Request was: Action=PutMetricData&Namespace=KinesisProducerLibrary&MetricData.member.1.MetricName=UserRecordsPending&MetricData.member.1.Timestamp=2022-10-04T20%3A37%3A49Z&MetricData.member.1.StatisticValues.SampleCount=293&MetricData.member.1.StatisticValues.Sum=0&MetricData.member.1.StatisticValues.Minimum=0&MetricData.member.1.StatisticValues.Maximum=0&MetricData.member.1.Unit=Count&MetricData.member.2.MetricName=UserRecordsPending&MetricData.member.2.Dimensions.member.1.Name=StreamName&MetricData.member.2.Dimensions.member.1.Value=CloudHub-Stream&MetricData.member.2.Timestamp=2022-10-04T20%3A37%3A49Z&MetricData.member.2.StatisticValues.SampleCount=293&MetricData.member.2.StatisticValues.Sum=0&MetricData.member.2.StatisticValues.Minimum=0&MetricData.member.2.StatisticValues.Maximum=0&MetricData.member.2.Unit=Count&Version=2010-08-01

Is there some configuration needed for kinesis metrics? I’ve search the localstack kinesis configuration and I didn’t see anything.