Problem
Terraform Enterprise (TFE) fails to start, and the tfe-archivist container logs show the following error.
[ERROR] main: failed to start server { err="===== INTERNAL ERROR =====\nGet \"https://example.core.windows.net/example?restype=container\": dial tcp: lookup example.core.windows.net on 127.0.0.11:53: no such host" }Cause
In Terraform Enterprise v202207-1 and later, you do not need to set the azure_endpoint setting to core.windows.net to use the default Azure Blob Storage endpoint. This error is typically caused by the presence of this legacy setting in the Replicated application configuration.
"azure_endpoint": {
"value": "core.windows.net"
},Solution
To resolve this issue, you must unset the azure_endpoint value in the application configuration.
Procedure
- Access the Terraform Enterprise instance using SSH.
-
Unset the Azure endpoint configuration by executing the following command.
# replicatedctl app-config set azure_endpoint --value ''
-
Stop the Terraform Enterprise application.
# replicatedctl app stop
-
Start the Terraform Enterprise application to apply the change.
# replicatedctl app start
Additional Information
For more details on this change, refer to the v202207-1 Release Notes.