GSA / grace-rotate-accesskeys

Utility to rotate AWS IAM access keys for CircleCI deployer
Other
1 stars 0 forks source link

Fails to put new keys in the credentials.json file on error. #2

Open prattvd opened 4 years ago

prattvd commented 4 years ago

When I ran it today, it ran fine, but had an error in development on the 4th of four projects. When I look at the "new" credentials.json file, it still has the old access and secret key, so presumably the error caused the script to bail before updating the new variable that is eventually written to the new credentials.json file.

Pushing to grace-logging-examples Error setting grace-logging-examples Error pushing new credentials to CircleCI: 404: Project not found

briankfitzwater commented 4 years ago

[GSA/grace-rotate-accesskeys] More graceful error handling