generated from DNXLabs/terraform-aws-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_outputs.tf
More file actions
45 lines (35 loc) · 1.05 KB
/
_outputs.tf
File metadata and controls
45 lines (35 loc) · 1.05 KB
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
36
37
38
39
40
41
42
43
44
45
output "bastion_host_security_group" {
value = aws_security_group.bastion_host_security_group[*].id
}
output "bucket_kms_key_alias" {
value = var.kms_create_key ? aws_kms_alias.alias[0].name : ""
}
output "bucket_kms_key_arn" {
value = var.kms_create_key ? aws_kms_alias.alias[0].name : ""
}
output "bucket_name" {
value = aws_s3_bucket.bucket.id
}
output "bucket_arn" {
value = aws_s3_bucket.bucket.arn
}
output "elb_ip" {
value = aws_lb.nlb.dns_name
}
output "elb_arn" {
value = aws_lb.nlb.arn
}
output "target_group_arn" {
value = aws_lb_target_group.nlb_target_group.arn
}
output "bastion_auto_scaling_group_name" {
value = aws_autoscaling_group.bastion_auto_scaling_group.name
}
output "eni_id" {
description = "ID of the ENI created for the bastion (if create_eni is true)"
value = var.create_eni ? aws_network_interface.bastion_eni[0].id : null
}
output "eni_private_ip" {
description = "Private IP address of the ENI (if create_eni is true)"
value = var.create_eni ? aws_network_interface.bastion_eni[0].private_ip : null
}