admin管理员组文章数量:1392002
After adding YetAnotherCloudwatchExporter(YACE) to my Prometheus server & configuring AWS CLI to use my provided SSO profile, I'm getting the errors below when running YACE. I've already confirmed I'm logged in to a sso session & the role ARN is correct. Can anyone please let me know what I'm missing or what I did wrong?
{
"time": "2025-03-11T17:36:04.643523868Z",
"level": "ERROR",
"source": "scrape.go:50",
"msg": "Couldn't get account Id",
"version": "custom-build",
"job_type": "AWS/NetworkELB",
"region": "eu-west-2",
"arn": "arn:aws:sts::186268008081:assumed-role/AWSReservedSSO_ReadOnlyAccess_2fdeaca97a5f7371/[email protected]",
"err": "NoCredentialProviders: no valid providers in chain\ncaused by: EnvAccessKeyNotFound: failed to find credentials in the environment.\nSharedCredsLoad: failed to load profile, .\nEC2RoleRequestError: no EC2 instance role found\ncaused by: RequestError: send request failed\ncaused by: Get \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
}
本文标签: amazon web servicesUsing AWS SSO credentials with YACEStack Overflow
版权声明:本文标题:amazon web services - Using AWS SSO credentials with YACE - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744775034a2624572.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论