Kubernetes and air-gap

I have a kustomization coder/postgres deployment that comes up and online and fully healthy (according to the health tab in coder). I am using Istio as an ingress but disabled service mesh to rule out blocked comms to api-server. Everything seems fine but when I try to create a Kubernetes template, I just get a basic error of "initialize teraform: exit status 1" but nothing else. We have mirrored public repos and certs setup well in this environment and I can exec into the pod and the terraform binary is available. I am assuming I am missing the provider somehow (though we do have a mirrored version of the hashicorp tgz as well). Is there any way I can get more verbosity from this error message or anyone have any other tips for me to try?
Solution:
Do you have a .terraformrc mounted into the Coder deployment that points to a Terraform providers mirror? https://coder.com/docs/v2/latest/install/offline#offline-container-images
Offline deployments - Coder v2 Docs
Run Coder in offline / air-gapped environments
Jump to solution
3 Replies
Codercord
Codercord7mo ago
<#1230573178208784464>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Solution
Cian
Cian7mo ago
Do you have a .terraformrc mounted into the Coder deployment that points to a Terraform providers mirror? https://coder.com/docs/v2/latest/install/offline#offline-container-images
Offline deployments - Coder v2 Docs
Run Coder in offline / air-gapped environments
Cian
Cian7mo ago
The documentation above mentions building a custom image but I've also had success mounting the tfrc in as a ConfigMap
Want results from more Discord servers?
Add your server