Problem
After upgrading to Terraform Enterprise v202507-1 or later, the archivist component may fail to start. The logs display an error message indicating that the configured S3 endpoint is not a valid URI.
S3: GetObject, resolve auth scheme: resolve endpoint: endpoint rule error, Custom endpoint `s3.example.com` was not a valid URI
Cause
Terraform Enterprise v202507-1 includes an upgrade of the AWS SDK for Go from v1 to v2. This new version enforces a stricter validation for the S3 object storage endpoint URL. The value for the TFE_OBJECT_STORAGE_S3_ENDPOINT setting must now be a complete URI that includes a protocol scheme (e.g., https://). Previously, a bare hostname was accepted.
Solution
To resolve this issue, you must update the TFE_OBJECT_STORAGE_S3_ENDPOINT configuration value to include a protocol scheme.
Incorrect Configuration
An endpoint without a protocol will cause the error.
TFE_OBJECT_STORAGE_S3_ENDPOINT: s3.example.com
Correct Configuration
Add the https:// protocol to the endpoint URL.
TFE_OBJECT_STORAGE_S3_ENDPOINT: https://s3.example.com
Additional Information
This issue only affects Terraform Enterprise releases v202507-1 and later.
For more details on configuring object storage, please refer to the official Terraform Enterprise documentation.