outputs.tf
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Outputs ======================================================================

output "instance_ids" {
  description = "Instance IDs keyed by instance key."
  value       = module.ec2.instance_ids
}

output "instance_arns" {
  description = "Instance ARNs keyed by instance key."
  value       = module.ec2.instance_arns
}

output "primary_private_ips" {
  description = "Primary private IP addresses keyed by instance key."
  value       = module.ec2.primary_private_ips
}

output "secondary_private_ips" {
  description = "Secondary private IP addresses keyed by instance key."
  value       = module.ec2.secondary_private_ips
}

output "public_ips" {
  description = "Public IP addresses keyed by instance key. Null if not assigned."
  value       = module.ec2.public_ips
}

output "private_dns" {
  description = "Private DNS names keyed by instance key."
  value       = module.ec2.private_dns
}

output "network_interface_ids" {
  description = "Primary network interface IDs keyed by instance key."
  value       = module.ec2.network_interface_ids
}

output "key_pair_ids" {
  description = "Key pair IDs keyed by key pair key."
  value       = module.ec2.key_pair_ids
}

output "data_volume_ids" {
  description = "EBS data volume IDs keyed by data volume key."
  value       = module.ec2.data_volume_ids
}

output "data_volume_attachments" {
  description = "Attached data volume IDs keyed by data volume key."
  value       = module.ec2.data_volume_attachments
}

output "security_group_ids" {
  description = "Security group IDs keyed by security group logical key."
  value       = module.security_groups.ids
}

output "security_group_arns" {
  description = "Security group ARNs keyed by security group logical key."
  value       = module.security_groups.arns
}