zounce
CCoder.com
•Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
coder_app
s already use <app>--<agent>--<workspace>--<username>.example.com
(if the subdomain
attribute is true) - I don't believe it's possible to customise it any further13 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Sounds good, let me know how you go!
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
How long does the init take with the caching working?
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Yeah the init uses the lockfile to see if it has the providers cached, so that should be correct
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Oh I see what you mean
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
That could be a cool feature if not?
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Though maybe there's an exception to use the last known lockfile? Even if it's not in the version?
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
I believe the provisioner only looks at each version independently
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
AFAIK You'll need to make sure the lock file is included in each version you create, even though it remains the same. And then obviously the lockfile will only change when you update a provider.
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
I wonder why the hash would be different on WSL, I don't recall WSL using any hidden files that might be interfering
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
h1
: Hash scheme 1 is also a SHA256 hash, but is one computed from the contents of the provider distribution package, rather than of the .zip archive it's contained within. This scheme therefore has the advantage that it can be calculated for an official .zip file, an unpacked directory with the same contents, or a recompressed .zip file which contains the same files but potentially different metadata or compression schemes.
Interesting, this is definitely unintended behaviour then29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Just as an experiment, you could try generating the lockfile on a machine with the same os-arch as your coder server / provisioner? Maybe there's some subtle difference in the way windows generates the lockfile
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Plus, you're already using the latest version of both providers
29 replies
CCoder.com
•Created by HappyShark on 1/16/2025 in #help
Should terraform init run on every deploy?
Terraform providers are os-arch specific binaries, but FWICT,
terraform init
writes hashes for all platforms into .terraform.lock.hcl
, Terraform will pre-populate the hashes value with any checksums that are covered by the provider developer's cryptographic signature, which usually covers all of the available packages for that provider version across all supported platforms.I'm not sure why it would be saying there's changes, presumably immediately after generating the lock file 🤔
29 replies
CCoder.com
•Created by Andrej on 11/25/2024 in #help
`coder_agent` METADATA not working in Coder API
Unfortunately not. I recall at the time going through the code and seeing we have a DB query for fetching the agent metadata, but the only place it’s used is in that stream
15 replies
CCoder.com
•Created by Scott on 11/22/2024 in #help
Older workspace no longer working
are you able to ssh into the workspace via
coder ssh
?43 replies
CCoder.com
•Created by Alan on 11/25/2024 in #help
`oauth2-proxy` allow proxied authentication
In the meantime, there are CLI options for inserting arbitrary headers on all clients & agent requests,
CODER_AGENT_HEADER[_COMMAND]
and CODER_HEADER[_COMMAND]
7 replies
CCoder.com
•Created by Alan on 11/25/2024 in #help
`oauth2-proxy` allow proxied authentication
We've discussed this in the past @ https://github.com/coder/coder/issues/11901 (The RFC is private, unfortunately)
7 replies
CCoder.com
•Created by Andrej on 11/25/2024 in #help
`coder_agent` METADATA not working in Coder API
Yeah, I can write it if need be, but I thought it'd be good for you to mention your use-case along with the request
15 replies
CCoder.com
•Created by Andrej on 11/25/2024 in #help
`coder_agent` METADATA not working in Coder API
It'd definitely be worth making a brief issue for it on
coder/coder
15 replies