-
Notifications
You must be signed in to change notification settings - Fork 30
/
outputs.tf
35 lines (29 loc) · 884 Bytes
/
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
output "consul_server" {
value = aws_lb.alb.dns_name
description = "DNS name of AWS ALB for Consul server"
}
output "web_server" {
value = aws_lb.alb_web.dns_name
description = "DNS name of AWS ALB for the fake web service"
}
output "bastion_ip" {
value = aws_instance.bastion.public_ip
description = "Public IP address of bastion"
}
output "consul_token" {
value = random_uuid.consul_bootstrap_token.result
description = "Consul management token"
sensitive = true
}
output "asg_api_name" {
value = aws_autoscaling_group.consul_client_api.name
description = "Name of the API AutoScaling Group"
}
output "asg_web_name" {
value = aws_autoscaling_group.consul_client_web.name
description = "Name of the Web AutoScaling Group"
}
output "aws_region" {
value = var.aws_default_region
description = "Region in AWS everything is deployed to"
}