Skip to content

Commit

Permalink
set k3s_token output to sensitive
Browse files Browse the repository at this point in the history
To reduce the risk of accidentally exporting sensitive data that was
intended to be only internal, Terraform requires that any root module
output containing sensitive data be explicitly marked as sensitive, to
confirm your intent.

If you do intend to export this data, annotate the output value as
sensitive by adding the following argument:
    sensitive = true
  • Loading branch information
netzding authored Sep 30, 2023
1 parent d80eb45 commit d92fa63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions output.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ output "k3s_endpoint" {
output "k3s_token" {
description = "The k3s token to register new nodes"
value = local.k3s_token
sensitive = true
}

# Keeping for backward compatibility
Expand Down

0 comments on commit d92fa63

Please sign in to comment.