首页 > 解决方案 > Gitlab 代码管道在构建时获取 aws.Config.CredentialsChainVerboseErrors

问题描述

想知道低于错误,它通过了测试阶段但构建失败?访问权限显然需要在 gitlab 端修复,但想知道如何?可能是关于缓存提供程序的到期吗?

NoCredentialProviders: no valid providers in chain. Deprecated.
572 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
574ERROR: Job failed: exit code 1

标签: gitlabaws-codepipelineaws-codebuild

解决方案


只需在 gitlab 设置中添加 AWS 凭证作为变量。由于我没有完全访问 gitlab 我无法看到该选项;)


推荐阅读