1 Answer
- Newest
- Most votes
- Most comments
1
I suspect you're on the right path - the credentials are set up for a particular user and the cron job is executing as another user; or in some way cannot locate the file where the credentials are stored.
My recommendation is not to use static credentials. Instead, create a role for the instance - that way you don't have to worry about rotating credentials or even storing them on the instance.
Relevant content
- asked 5 months ago
- Accepted Answerasked 5 months ago
- asked 10 months ago
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 14 days ago
- AWS OFFICIALUpdated 5 months ago