Closed VAIBHAV7500 closed 1 year ago
Thanks for reporting this @VAIBHAV7500!
Can you provide the following to help debug this:
Thanks!
Thanks for acknowledging it. But I was able to resolve the issue. Adding PACKER_GITHUB_API_TOKEN env did the job.
- name: Init Packer
uses: hashicorp/packer-github-actions@master
with:
command: init
target: packer_file.pkr.hcl
env:
PACKER_GITHUB_API_TOKEN: ${{ secrets.PACKER_GITHUB_API_TOKEN }}
Great news @VAIBHAV7500!
Looks like you hit a GitHub API limitation and were able to resolve it by providing a PAT.
Thanks for sharing your solution!
Expected Behavior
Packer should not throw rate limit error.
Current Behavior
During packer init the packer is trying to pull the plugins but it says Plugin host rate limited the plugin getter. I'm using GitHub actions and have no control over the host.
Steps to Reproduce
Create a GitHub action to run packer and it's coming intermittently.