terraform/website/source
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
..
assets add a height to svg in bnr to fix IE bug 2016-05-03 18:37:47 -07:00
docs core: Add support for marking outputs as sensitive (#6559) 2016-05-09 15:46:07 -04:00
intro docs: Clarify wording of which variables prompt 2016-05-08 19:38:35 -04:00
layouts provider/aws: Change `aws_elastic_ip_association` to have computed parameters (#6552) 2016-05-09 18:40:45 +01:00
.gitignore
404.html.erb Update 404 page 2015-09-19 17:42:33 +01:00
community.html.erb Use HTTPS + www. for links 2016-01-14 16:03:26 -05:00
downloads.html.erb Minor typo 2016-04-22 23:46:15 -04:00
index.html.erb provider/aws: Update docs with t1 instance for accounts with EC2 Classic 2015-12-21 10:00:34 -06:00
robots.txt
sitemap.xml.builder