Introduction
Problem
During the execution of a run you get the following error on Terraform Enterprise FDO - Docker
Operation failed: failed fetching Terraform: failed downloading terraform: failed downloading "https://releases.hashicorp.com/terraform/1.3.5/terraform_1.3.5_linux_amd64.zip":
GET https://releases.hashicorp.com/terraform/1.3.5/terraform_1.3.5_linux_amd64.zip giving up after 5 attempt(s):
failed making temp file: open /tmp/terraform/ae73a8f4a6396f935024d9a80e3b14f1.download-4f5e709d-e501-3016-cec9-fd6e6412b78f:
read-only file system
Prerequisites
- Using Terraform Enterprise FDO - Docker
Cause
In the compose.yaml file there is the environment variable TFE_DISK_CACHE_VOLUME_NAME which is not pointing to a valid volume
TFE_DISK_CACHE_VOLUME_NAME: tfe_terraform-enterprise-cache
Solutions:
Verify the compose.yaml file has the following environment variable
TFE_DISK_CACHE_VOLUME_NAME: ${COMPOSE_PROJECT_NAME}_terraform-enterprise-cache
Outcome
After a restart of Terraform Enterprise the issue should be resolved.
If you still see issues then please generate a support bundle as documented here and create a ticket with HashiCorp support.