Commit 0f3d09c1 authored by Martin Atkins's avatar Martin Atkins Committed by GitHub

Fix incorrect subnet_id output expression

This was always producing an error, but prior to Terraform 0.11 these errors were suppressed and shown only in the logs.

Now that Terraform 0.11 shows errors in outputs, they must all be valid in order to use this module.
parent ee9c7ad1
...@@ -60,5 +60,5 @@ output "vpc_security_group_ids" { ...@@ -60,5 +60,5 @@ output "vpc_security_group_ids" {
output "subnet_id" { output "subnet_id" {
description = "List of IDs of VPC subnets of instances" description = "List of IDs of VPC subnets of instances"
value = ["${aws_instance.this.*.}"] value = ["${aws_instance.this.*.subnet_id}"]
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment