diff --git a/registry/coder/modules/dotfiles/README.md b/registry/coder/modules/dotfiles/README.md index bae98b96..0f55d0a8 100644 --- a/registry/coder/modules/dotfiles/README.md +++ b/registry/coder/modules/dotfiles/README.md @@ -19,7 +19,7 @@ Under the hood, this module uses the [coder dotfiles](https://coder.com/docs/v2/ module "dotfiles" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/dotfiles/coder" - version = "1.1.0" + version = "1.2.0" agent_id = coder_agent.example.id } ``` @@ -32,7 +32,7 @@ module "dotfiles" { module "dotfiles" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/dotfiles/coder" - version = "1.1.0" + version = "1.2.0" agent_id = coder_agent.example.id } ``` @@ -43,7 +43,7 @@ module "dotfiles" { module "dotfiles" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/dotfiles/coder" - version = "1.1.0" + version = "1.2.0" agent_id = coder_agent.example.id user = "root" } @@ -55,14 +55,14 @@ module "dotfiles" { module "dotfiles" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/dotfiles/coder" - version = "1.1.0" + version = "1.2.0" agent_id = coder_agent.example.id } module "dotfiles-root" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/dotfiles/coder" - version = "1.1.0" + version = "1.2.0" agent_id = coder_agent.example.id user = "root" dotfiles_uri = module.dotfiles.dotfiles_uri @@ -77,7 +77,7 @@ You can set a default dotfiles repository for all users by setting the `default_ module "dotfiles" { count = data.coder_workspace.me.start_count source = "registry.coder.com/coder/dotfiles/coder" - version = "1.1.0" + version = "1.2.0" agent_id = coder_agent.example.id default_dotfiles_uri = "https://github.com/coder/dotfiles" } diff --git a/registry/coder/modules/dotfiles/main.tf b/registry/coder/modules/dotfiles/main.tf index b96b1e66..9dfb7240 100644 --- a/registry/coder/modules/dotfiles/main.tf +++ b/registry/coder/modules/dotfiles/main.tf @@ -26,6 +26,12 @@ variable "agent_id" { description = "The ID of a Coder agent." } +variable "description" { + type = string + description = "A custom description for the dotfiles parameter. This is shown in the UI - and allows you to customize the instructions you give to your users." + default = "Enter a URL for a [dotfiles repository](https://dotfiles.github.io) to personalize your workspace" +} + variable "default_dotfiles_uri" { type = string description = "The default dotfiles URI if the workspace user does not provide one" @@ -64,7 +70,7 @@ data "coder_parameter" "dotfiles_uri" { display_name = "Dotfiles URL" order = var.coder_parameter_order default = var.default_dotfiles_uri - description = "Enter a URL for a [dotfiles repository](https://dotfiles.github.io) to personalize your workspace" + description = var.description mutable = true icon = "/icon/dotfiles.svg" }