Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions deployment/aws/aws/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ output "target_ips" {
output "kms_recovery_key_id" {
value = aws_kms_key.recovery.id
}

output "controller_instance_ip" {
value = aws_instance.controller.*.public_ip
}

output "worker_instance_ip" {
value = aws_instance.worker.*.public_ip
}
Comment on lines +13 to +19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's name these ips rather than ip as well since it looks like they'll come out as lists.

15 changes: 15 additions & 0 deletions deployment/aws/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
output "boundary_lb" {
value = module.aws.boundary_lb
}

output "target_ips" {
value = module.aws.target_ips
}

output "controller_ips" {
value = module.aws.controller_instance_ip.*
}

output "worker_ips" {
value = module.aws.worker_instance_ip
}
Comment on lines +13 to +15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be splatified like the one before it since the underlying output is a list.