-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
43 lines (35 loc) · 1.12 KB
/
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
36
37
38
39
40
41
42
43
output "id" {
value = aws_vpc.default.id
description = "VPC ID"
}
output "public_subnet_ids" {
value = aws_subnet.public.*.id
description = "List of public subnet IDs"
}
output "private_subnet_ids" {
value = aws_subnet.private.*.id
description = "List of private subnet IDs"
}
output "bastion_hostname" {
value = aws_instance.bastion.public_dns
description = "Public DNS name for bastion instance"
}
output "bastion_security_group_id" {
value = aws_security_group.bastion.id
description = "Security group ID tied to bastion instance"
}
output "bastion_network_interface_id" {
value = aws_instance.bastion.primary_network_interface_id
description = "Elastic Network Interface (ENI) ID of the Bastion instance's primary network interface"
}
output "cidr_block" {
value = var.cidr_block
description = "The CIDR block associated with the VPC"
}
output "nat_gateway_ips" {
value = aws_eip.nat.*.public_ip
description = "List of Elastic IPs associated with NAT gateways"
}
output "default_security_group_id" {
value = aws_vpc.default.default_security_group_id
}