Open yashid-mohamed opened 2 weeks ago
Add one more scenario. We are facing the same issue now.
Run hashicorp/setup-terraform@v3
with:
cli_config_credentials_hostname: app.terraform.io
terraform_version: latest
terraform_wrapper: true
env:
ALICLOUD_ACCESS_KEY_SECRET: ***
ALIBABA_CLOUD_SECURITY_TOKEN: ***
ALICLOUD_ACCESS_KEY_STS_TOKEN: ***
ALIBABACLOUD_SECURITY_TOKEN: ***
ALICLOUD_SECURITY_TOKEN: ***
Error: AggregateError
We use apt-get
to install terraform as the workaround solution, it works.
But we still want to know the root cause and hope to fix this problem as soon as possible. Thank you.
- name: 'Terraform Setup'
run: |
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
wget -O- https://apt.releases.hashicorp.com/gpg | \
gpg --dearmor | \
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null
gpg --no-default-keyring \
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
--fingerprint
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update
sudo apt-get install terraform
Hi,
We are facing this issue where the setup-terraform@v3 action starts to fail with an AggregateError when this action is being invoked within a GitHub Actions self hosted runner (ubuntu 22.04) hosted in a Azure Kubernetes cluster using Actions Runner Controller.
Failed Run
Successful Run
I suspect that it might be due to rate limit issue because the same action works fine when re-run later after some time / next day.
Can someone please help shed some light on why the action fails with an AggregateError and also how we can overcome this while using self-hosted GitHub runners?
Thanks!
Note - I'm installing node v20.15.0 in a previous step in the same workflow using the setup-node@v4 action. We have not seen this issue occur when using the GitHub hosted runners.