tf-cf-aws-3tier-dev/terraform/outputs.tf

10 lines
348 B
HCL

# output "compute_ami" {
# description = "Prints the image AMI installed on our EC2s."
# value = data.aws_ami.compute_ami
# }
# Extract EC2 ARN from each instance, into a new map.
output "public_ec2" {
description = "Prints the ARN for the publicly accessible EC2(s)"
value = [for idx, val in module.standalone_ec2 : val.arn]
}