Skip to content

Commit 3481b0d

Browse files
authored
revert: removes the nonsensitive from runner_user_data output (#832)
## Description Removes the `nonsensitive` function as the value sometime is not sensitive and the function fails with ``` │ Error: Invalid function argument │ │ on .terraform/modules/gitlab_runner_sare_pim_infrastructure/outputs.tf line 58, in output "runner_user_data": │ 58: value = nonsensitive(local.template_user_data) │ ├──────────────── │ │ while calling nonsensitive(value) │ │ local.template_user_data is ``` The output is marked as deprecated and shouldn't be used any longer. Use `var.debug.output_runner_user_data_to_file = true` to write the user data as file to the local disk. Closes #828 ## Migrations required No ## Verification No verification done.
1 parent 126a4b5 commit 3481b0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

outputs.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ output "runner_launch_template_name" {
5454
}
5555

5656
output "runner_user_data" {
57-
description = "The user data of the Gitlab Runner Agent's launch template."
58-
value = nonsensitive(local.template_user_data)
57+
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`."
58+
value = local.template_user_data
5959
}

0 commit comments

Comments
 (0)