Merge pull request #35591 from bschaatsbergen/docs/output-by-name-redact

docs: correct example for redacting an output value by name
pull/35616/head
Tu Nguyen 2 years ago committed by GitHub
commit 2aef7a01f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -68,11 +68,11 @@ lb_address = "my-app-alb-1657023003.us-east-1.elb.amazonaws.com"
password = <sensitive>
```
Note that outputs with the `sensitive` attribute will be redacted:
Note that Terraform does not redact the value when you specify the output by name:
```shellsession
$ terraform output password
password = <sensitive>
password = notasecurepassword
```
To query for the DNS address of the load balancer:

Loading…
Cancel
Save