Overview
You can see NoCredentialProviders
error while utilizing our open source to build your customer images.
- For Windows image: circleci-server-windows-image-builder
- For Linux image: circleci-server-linux-image-builder
Failed by NoCredentialProviders Error
The Build images
step fails by the NoCredentialProviders
error like the below:
no valid credential sources for found.\n\nPlease see \nfor more information about providing credentials.\n\nError: NoCredentialProviders: no valid providers in chain. Deprecated.\n For verbose messaging see aws.Config.CredentialsChainVerboseErrors
Solution
Check whether the name of your contexts matches the one defined on the config.yml file.
- contexts
- .circleci/config.yml
workflows:
build_aws_2019:
jobs:
- windows_visualstudio_aws_2019:
context: CPE_ORBS_AWS
filters: *filters
Comments
Please sign in to leave a comment.