Open
Description
While using new "logRetentionInDays" field added in eksctl 0.73.0, we sometimes randomly observe the error during cluster creation:
[✔] configured CloudWatch logging for cluster "test-cluster" in "us-west-2" (enabled types: audit, authenticator, scheduler & disabled types: api, controllerManager)
[!] 1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console
[ℹ] to cleanup resources, run 'eksctl delete cluster --region=us-west-2 --name=test-cluster'
[✖] error updating log retention settings: ResourceNotFoundException: The specified log group does not exist.
The reproduction rate isn't too high, but high enough to be the problem (around 10%). It seems that there's a race condition in play here.