# 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 }