Skip to content

Commit

Permalink
Create outputs to access DNS from terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlga committed Nov 23, 2023
1 parent 145e565 commit e5ac046
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/locust/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
output "locust_endpoint" {
value = aws_instance.ec2_locust.public_dns
}
8 changes: 8 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
output "load_balancer_dns" {
value = "${module.ec2.lb_endpoint}/docs"
}

output "locust_dns" {
description = ""
value = "${module.locust.locust_endpoint}:8089"
}

0 comments on commit e5ac046

Please sign in to comment.