Skip to content

Commit

Permalink
docs: Fix outputs attribute read
Browse files Browse the repository at this point in the history
  • Loading branch information
bonifaido committed Oct 10, 2017
1 parent d2d2ad2 commit 0f79465
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/data_source.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ data "null_data_source" "values" {
resource "aws_elb" "main" {
# ...
instances = "${data.null_data_source.values["all_server_ids"]}"
instances = "${data.null_data_source.values.outputs["all_server_ids"]}"
}
output "all_server_ids" {
value = "${data.null_data_source.values["all_server_ids"]}"
value = "${data.null_data_source.values.outputs["all_server_ids"]}"
}
output "all_server_ips" {
value = "${data.null_data_source.values["all_server_ips"]}"
value = "${data.null_data_source.values.outputs["all_server_ips"]}"
}
# ... (other uses of the values) ...
Expand Down

0 comments on commit 0f79465

Please sign in to comment.