Skip to content

Commit 3f7eaea

Browse files
authored
fix: delete the 'runner_config_toml_rendereded' output variable (#1019)
## Description Due to calls to `nonsensitive` in case the data is sensitive or not calling the function in the other case, the code gets very complex. The output variable `runner_config_toml_rendereded` was introduced for easier debugging, but we still have the option to write the whole Runner configuration to a local file (`debug.write_runner_config_to_file`). This "fixers" that issue by just deleting the output variable. Closes #1018 ## Migrations required Usually not. For debugging purposes, set the `debug.write_runner_config_to_file` to `true`. The configuration is written to a file on your local disk (directory `debug/`) ## Verification Only linted as this is only deleting an output variable.
1 parent d9e550e commit 3f7eaea

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

outputs.tf

-5
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,3 @@ output "runner_user_data" {
5757
description = "(Deprecated) The user data of the Gitlab Runner Agent's launch template. Set `var.debug.output_runner_user_data_to_file` to true to write `user_data.sh`."
5858
value = nonsensitive(local.template_user_data)
5959
}
60-
61-
output "runner_config_toml_rendered" {
62-
description = "The rendered config.toml given to the Runner Manager."
63-
value = local.template_runner_config
64-
}

0 commit comments

Comments
 (0)