Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account-readiness check uses default AWS credentials which may be stale #1641

Open
aracho1 opened this issue Dec 9, 2022 · 1 comment
Open

Comments

@aracho1
Copy link

aracho1 commented Dec 9, 2022

Running npx @guardian/cdk@latest account-readiness --profile workflow gave me SSM Parameter Readiness: ❌ Fail even though the workflow account is all green.

It turns out that there were stale [default] credentials in my local ~/.aws/credentials file. I had to delete them and get fresh workflow credentials from Janus, which finally gave me SSM Parameter Readiness: ✅ Pass.

Not sure how or why the default creds are generated, but it would be great for the readiness check against the matching account name (e.g.[workflow]) instead of the default. Also it would be helpful have a more informative error message if the credentials are invalid.

@akash1810
Copy link
Member

Witnessed this with @vlbee today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants