Issue
When deploying to an AWS account you receive the following error:
credential not found (name: default, accounts: [accountA, accountB, accountC...])
Cause
This can occur for installations that are deploying into AWS but not using Rosco to bake images.
Solution
If this occurs it is because you do not have a default bake account configured. This will not enable baking but will prevent the error above. To fix this error, add the following snippet to ~/.hal/default/profiles/clouddriver-local.yml
default:
bake:
account: {primary-aws-account-name}
By default, the value of default.bake.account
is default
which is where the value in the error is coming from. Spinnaker is attempting to fetch credentials for an account that doesn’t exist or isn’t configured.
As Tested On Version
2.17