Turtle Kayak
CCoder.com
•Created by Turtle Kayak on 11/21/2022 in #help
TF_LOG verbose Terraform output?
How do I get Coder to show verbose Terraform logs?
I'm trying to start a workspace but getting one of the Terraform AWS provider's less helpful error messages where it doesn't tell you what IAM action it doesn't have permission to complete:
When doing normal Terraform development and I run into this I get Terraform's verbose logs and trace the request id in the output to the API request, where I can then see the IAM action. I do this by setting the
TF_LOG=1
env var in my shell.
How might I do this in Coder?3 replies
CCoder.com
•Created by Turtle Kayak on 11/19/2022 in #help
Failed to accept WebSocket connection WebSocket protocol violation
I am overhauling our Coder server deployment. It is in a private AWS subnet with an AWS client VPN endpoint allowing my laptop to connect to the subnet. I can use the HTTP API (via simple commands like workspaces list in the CLI) and access the web dashboard.
However when I run the template create command I get a weird networking error. This new deployment of Coder is much more locked down and only allows traffic on the port in the access URL. Additionally now the Coder server is behind an Nginx reverse proxy.
Here is the full terminal output:
54 replies
CCoder.com
•Created by Turtle Kayak on 8/17/2022 in #help
Coder SSH Not Respecting SendEnv & AcceptEnv?
On my local machine I have
And on my coder instance I have:
I restarted my computer and restarted the workspace instance. Inside my local terminal I run
Inside the remote terminal when I
echo $INSIDE_EMACS
the variable is empty.
I know that Coder had a somewhat special SSH agent or something, is it possible that is interfering w the SSH env var setup?20 replies
CCoder.com
•Created by Turtle Kayak on 8/16/2022 in #help
Coder Templates Update Not A Command In v0.8.5
On the docs it says to use
coder templates update <template>
but when I try to run this command it says the only coder templates
sub commands are create, delete, edit, init, list, plan, pull, push, and versions4 replies