From 26c7b0f9f7ce582e79bee6ae74a0d4c272fd47e7 Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:36:14 +0100 Subject: [PATCH 1/5] chore(docs): clarify that variables be edited through the web UI --- docs/admin/templates/extending-templates/variables.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/admin/templates/extending-templates/variables.md b/docs/admin/templates/extending-templates/variables.md index 69669892f6920..8c8a1ad036275 100644 --- a/docs/admin/templates/extending-templates/variables.md +++ b/docs/admin/templates/extending-templates/variables.md @@ -74,9 +74,10 @@ for providing values to variables using the Coder CLI: 1. _Manual input in CLI_: You can manually input values for Terraform variables directly in the CLI during the deployment process. -2. _Command-line argument_: Utilize the `--var name=value` command-line argument +2. _Web UI_: You can set and/or edit variable values under "Variables" in the template's settings. +3. _Command-line argument_: Utilize the `--var name=value` command-line argument to specify variable values inline as key-value pairs. -3. _Variables file selection_: Alternatively, you can use a variables file +4. _Variables file selection_: Alternatively, you can use a variables file selected via the `--variables-file values.yml` command-line argument. This approach is particularly useful when dealing with multiple variables or to avoid manual input of numerous values. Variables files can be versioned for From 331bf679b237d5fc311fe1f494b829373ce9b4e7 Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:36:03 +0100 Subject: [PATCH 2/5] Update docs/admin/templates/extending-templates/variables.md Co-authored-by: Edward Angert --- docs/admin/templates/extending-templates/variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/templates/extending-templates/variables.md b/docs/admin/templates/extending-templates/variables.md index 8c8a1ad036275..9468334163a07 100644 --- a/docs/admin/templates/extending-templates/variables.md +++ b/docs/admin/templates/extending-templates/variables.md @@ -74,7 +74,7 @@ for providing values to variables using the Coder CLI: 1. _Manual input in CLI_: You can manually input values for Terraform variables directly in the CLI during the deployment process. -2. _Web UI_: You can set and/or edit variable values under "Variables" in the template's settings. +1. _Web UI_: You can set or edit variable values under **Variables** in the template's settings. 3. _Command-line argument_: Utilize the `--var name=value` command-line argument to specify variable values inline as key-value pairs. 4. _Variables file selection_: Alternatively, you can use a variables file From a09ec5af1aa36ecc56bcc76305dc8967dfbd950d Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:36:14 +0100 Subject: [PATCH 3/5] Update docs/admin/templates/extending-templates/variables.md Co-authored-by: Edward Angert --- docs/admin/templates/extending-templates/variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/templates/extending-templates/variables.md b/docs/admin/templates/extending-templates/variables.md index 9468334163a07..b7620577e41d9 100644 --- a/docs/admin/templates/extending-templates/variables.md +++ b/docs/admin/templates/extending-templates/variables.md @@ -75,7 +75,7 @@ for providing values to variables using the Coder CLI: 1. _Manual input in CLI_: You can manually input values for Terraform variables directly in the CLI during the deployment process. 1. _Web UI_: You can set or edit variable values under **Variables** in the template's settings. -3. _Command-line argument_: Utilize the `--var name=value` command-line argument +1. _Command-line argument_: Utilize the `--var name=value` command-line argument to specify variable values inline as key-value pairs. 4. _Variables file selection_: Alternatively, you can use a variables file selected via the `--variables-file values.yml` command-line argument. This From 102e68890e560bf72343a8539a38a1011603c761 Mon Sep 17 00:00:00 2001 From: Phorcys <57866459+phorcys420@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:36:22 +0100 Subject: [PATCH 4/5] Update docs/admin/templates/extending-templates/variables.md Co-authored-by: Edward Angert --- docs/admin/templates/extending-templates/variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/templates/extending-templates/variables.md b/docs/admin/templates/extending-templates/variables.md index b7620577e41d9..bbb30e95e22d5 100644 --- a/docs/admin/templates/extending-templates/variables.md +++ b/docs/admin/templates/extending-templates/variables.md @@ -77,7 +77,7 @@ for providing values to variables using the Coder CLI: 1. _Web UI_: You can set or edit variable values under **Variables** in the template's settings. 1. _Command-line argument_: Utilize the `--var name=value` command-line argument to specify variable values inline as key-value pairs. -4. _Variables file selection_: Alternatively, you can use a variables file +1. _Variables file selection_: Alternatively, you can use a variables file selected via the `--variables-file values.yml` command-line argument. This approach is particularly useful when dealing with multiple variables or to avoid manual input of numerous values. Variables files can be versioned for From b10aa84c96b83e8b9b6d015297367c715cc9a890 Mon Sep 17 00:00:00 2001 From: EdwardAngert Date: Wed, 18 Dec 2024 15:51:41 +0000 Subject: [PATCH 5/5] make fmt --- docs/admin/templates/extending-templates/variables.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/admin/templates/extending-templates/variables.md b/docs/admin/templates/extending-templates/variables.md index bbb30e95e22d5..acb064e15c3d9 100644 --- a/docs/admin/templates/extending-templates/variables.md +++ b/docs/admin/templates/extending-templates/variables.md @@ -74,7 +74,8 @@ for providing values to variables using the Coder CLI: 1. _Manual input in CLI_: You can manually input values for Terraform variables directly in the CLI during the deployment process. -1. _Web UI_: You can set or edit variable values under **Variables** in the template's settings. +1. _Web UI_: You can set or edit variable values under **Variables** in the + template's settings. 1. _Command-line argument_: Utilize the `--var name=value` command-line argument to specify variable values inline as key-value pairs. 1. _Variables file selection_: Alternatively, you can use a variables file