Template default settings?

Can i set some defaults for templates somewhere, like "Default autostop (hours)" and "Activity bump (hours)"?
Solution:
@daschatten for the coderd Terraform provider, you can use the coder_template resource's default_ttl_ms and activity_bump_ms fields
Jump to solution
6 Replies
Codercord
Codercord3mo ago
Codercord
Codercord3mo ago
<#1397199491882287287>
Category
Help needed
Product
Coder (v2)
Platform
N/A
Logs
Please post any relevant logs/error messages.
What operating system are you running Coder (v2) on?
matifali
matifali3mo ago
Do you mean for all new templates? There isn't such a setting yet but if you push your templates from CI using CLI or coderd provider. You can configure them easily. Although it would be per template.
Solution
Phorcys
Phorcys3mo ago
@daschatten for the coderd Terraform provider, you can use the coder_template resource's default_ttl_ms and activity_bump_ms fields
Codercord
Codercord3mo ago
@Phorcys closed the thread.

Did you find this page helpful?