I’ve been encountering issues on long chef runs with in a vagrant - chef-client to server testing environment.
When I issue a full run after a while the remote_file requests to AWS S3 will file with a 403 response.
Error executing action
create on resource ‘cookbook_file[/tmp/chef/source/install_packageXYZ]’
From what I can gather is that this possibly due to clock skew during the run as AWS expects timestamps within a tolerance of 15 minutes. The next converge will download the file fine, it’s not the same file that continuously fails.
This issue is documented in the AWS FAQ
Has anyone else encountered this issue before? Is there a more appropriate resource with a retry option?
Appreciate your time,