Grafana - API CloudWatch - HTTP Error Internal Server Error

My CloudWatch configuration stopped working after changing the server’s IP.
The log shows an attempt to access the key on the old server IP address “remote_addr”.
How do I force him to use the machine’s default ip?

t=2021-02-08T22:06:34+0000 lvl=eror msg=“Metric request error” logger=context userId=1 orgId=1 uname=admin error=“failed to call cloudwatch:ListMetrics: SharedCredsAccessKey: shared credentials default in /usr/share/grafana/.aws/credentials did not contain aws_access_key_id” remote_addr=
t=2021-02-08T22:06:34+0000 lvl=eror msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr= time_ms=0 size=34 referer=