terraform/website/source/docs/configuration
James Nugent b62f6af158 core: Add support for marking outputs as sensitive (#6559)
* core: Add support for marking outputs as sensitive

This commit allows an output to be marked "sensitive", in which case the
value is redacted in the post-refresh and post-apply list of outputs.

For example, the configuration:

```
variable "input" {
    default = "Hello world"
}

output "notsensitive" {
    value = "${var.input}"
}

output "sensitive" {
    sensitive = true
    value = "${var.input}"
}
```

Would result in the output:

```
terraform apply

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

  notsensitive = Hello world
  sensitive    = <sensitive>
```

The `terraform output` command continues to display the value as before.

Limitations: Note that sensitivity is not tracked internally, so if the
output is interpolated in another module into a resource, the value will
be displayed. The value is still present in the state.
2016-05-09 15:46:07 -04:00
..
atlas.html.md website: document push 2015-03-24 13:30:23 -07:00
environment-variables.html.md Fix -module-depth typo 2016-02-23 20:02:36 -05:00
index.html.md Add meta descriptions to all pages 2014-10-21 23:21:56 -04:00
interpolation.html.md config: new interpolation function jsonencode 2016-03-29 07:38:58 -07:00
load.html.md Use HTTPS + www. for links 2016-01-14 16:03:26 -05:00
modules.html.md Add meta descriptions to all pages 2014-10-21 23:21:56 -04:00
outputs.html.md core: Add support for marking outputs as sensitive (#6559) 2016-05-09 15:46:07 -04:00
override.html.md provider/aws: Update docs with t1 instance for accounts with EC2 Classic 2015-12-21 10:00:34 -06:00
providers.html.md website: document templates 2015-05-04 11:42:05 -07:00
resources.html.md Revert "Revert "core: Add uuid() interpolate function."" 2016-03-21 15:14:30 -05:00
syntax.html.md Document that heredoc syntax is supported. 2015-10-05 09:38:52 -07:00
variables.html.md Tweak docs to properly document .tfvars format (#6415) 2016-04-29 14:06:36 +01:00