From 50c94544b18d58d8718ae0ebdce2a41046817c88 Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Fri, 16 Aug 2024 18:18:12 +0200 Subject: [PATCH 1/2] docs: correct example for redacting an output value by name --- website/docs/cli/commands/output.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/cli/commands/output.mdx b/website/docs/cli/commands/output.mdx index 8c4a5fdb77..a59b75f966 100644 --- a/website/docs/cli/commands/output.mdx +++ b/website/docs/cli/commands/output.mdx @@ -68,11 +68,11 @@ lb_address = "my-app-alb-1657023003.us-east-1.elb.amazonaws.com" password = ``` -Note that outputs with the `sensitive` attribute will be redacted: +Note that Terraform will not redact the value when you specify the output by name: ```shellsession $ terraform output password -password = +password = notasecurepassword ``` To query for the DNS address of the load balancer: From df371cc392b5a870ce475d1ce723d2c59939b1f4 Mon Sep 17 00:00:00 2001 From: Bruno Schaatsbergen Date: Fri, 16 Aug 2024 23:30:23 +0200 Subject: [PATCH 2/2] chore: apply suggestion Co-authored-by: Tu Nguyen --- website/docs/cli/commands/output.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/cli/commands/output.mdx b/website/docs/cli/commands/output.mdx index a59b75f966..570c706636 100644 --- a/website/docs/cli/commands/output.mdx +++ b/website/docs/cli/commands/output.mdx @@ -68,7 +68,7 @@ lb_address = "my-app-alb-1657023003.us-east-1.elb.amazonaws.com" password = ``` -Note that Terraform will not redact the value when you specify the output by name: +Note that Terraform does not redact the value when you specify the output by name: ```shellsession $ terraform output password