Andrej
CCoder.com
•Created by Andrej on 11/25/2024 in #help
`coder_agent` METADATA not working in Coder API
When using coder agent metadata, the behaviour is correct in the UI (the value is displayed based on the script definition), but when calling
curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacename}
. The instance that has the agent assigned has a json parameter agents
, but there is no corresponding metadata to the one defined in the coder agent. How to access coder agent metadata?15 replies
CCoder.com
•Created by Andrej on 11/6/2024 in #help
Save template with failing build
Hi, would it be possible to add some option of saving a template even though the build is failing? When working on some changes I want to be able to back them up to be able to work on them next day for example.
12 replies
CCoder.com
•Created by Andrej on 10/25/2024 in #help
Error when building workspace with parametrized OpenStack provider using coder parameters
Hi, when I use coder parameters to parametrize OpenStack provider like this:
and then i do
I am getting
Error creating OpenStack image client: You must provide a password to authenticate on .terraform/modules/kubernetes_infra/instances.tf line 1
I don't know if this is right place to discuss this issue, but this behavior is happening only in coder. when i parametrize provider with standard variables, terraform plan
is already expecting variables to be filled.
Any idea how to bypass this issue? When providing the values directly everything works.7 replies
CCoder.com
•Created by Andrej on 10/16/2024 in #help
State management, external backend?
Hi everyone, how does coder manage the terraform state of its workspaces? Is it stored in the Postgres database? Is there any option of them being stored externally, such as S3?
11 replies