Problem
Terraform Enterprise (TFE) fails to start with the following error in the tfe-archivist container logs:
[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, site administrators no longer need to set the azure endpoint setting to core.windows.net in order to use the default Azure Blog Storage endpoint.
This error message is usually caused by the following replicated app configuration:
"azure_endpoint": {
"value": "core.windows.net"
},
Solution:
The site administrator needs to unset the azure_endpoint and restart the app.
- Access the TFE instance using a protocol such as ssh.
- Unset the azure endpoint by executing the following command:
replicatedctl app-config set azure_endpoint --value ''
3. Stop and start TFE by executing the following commands:
replicatedctl app stop
replicatedctl app start