We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0079f8 + ccc31a2 commit 96544b9Copy full SHA for 96544b9
aws/ec2/outputs.tf
@@ -6,6 +6,10 @@ output "public_ips" {
6
value = var.enable_eip ? aws_eip.mod[*].public_ip : aws_instance.mod[*].public_ip
7
}
8
9
+output "private_ips" {
10
+ value = var.enable_eip ? aws_eip.mod[*].private_ip : aws_instance.mod[*].private_ip
11
+}
12
+
13
output "security_group_on_instances" {
14
value = aws_security_group.security_group_on_instances.id
15
0 commit comments