9 Replies
<#1384211397667455057>
Category
Other
Product
N/A
Platform
N/A
Logs
Please post any relevant logs/error messages.
What product are you using?
What is your question or issue? It's better to ask or present that, as most people won't just raise their hand to say yes, to such a quesion.
ICYMI, we have a Terraform provider specifically for doing things like managing templates in git, and pushing them to the coder deployment via CI:
https://registry.terraform.io/providers/coder/coderd/latest/docs
Here's the documentation for the template resource: https://registry.terraform.io/providers/coder/coderd/latest/docs/resources/template
You can see how we use it for two of our own templates at coder here: https://github.com/coder/coder/blob/main/dogfood/main.tf
this, or we have the ability to publish templates through the
coder
CLI -> https://coder.com/docs/tutorials/testing-templatesTest Templates Through CI/CD | Coder Docs
Learn how to test and publish Coder templates in a CI/CD pipeline
Which one is the most utilized approach out there? Least suprise. CLI or TF?
/close
It all depends on personal preference. We don't have any data on which one is used more
that said, probably the CLI
@Phorcys closed the thread.