-
Notifications
You must be signed in to change notification settings - Fork 1
/
output.tf
42 lines (33 loc) · 808 Bytes
/
output.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
output "server_public_ip" {
value = aws_instance.ec2_instance.public_ip
}
output "server_subnet_id" {
value = aws_subnet.ec2_subnet.id
}
output "server_vpc_id" {
value = aws_vpc.ec2_vpc.id
}
output "server_security_group_id" {
value = aws_security_group.ec2_security_group.id
}
output "internet_gateway_id" {
value = aws_internet_gateway.ec2_gateway.id
}
output "route_table_id" {
value = aws_route_table.ec2_route_table.id
}
output "os_installed_arn" {
value = data.aws_ami.ec2_os_ami.arn
}
output "os_installed_id" {
value = data.aws_ami.ec2_os_ami.id
}
output "ec2_key_pair_name" {
value = aws_key_pair.ec2_key.key_name
}
output "ec2_key_pair_arn" {
value = aws_key_pair.ec2_key.arn
}
output "ec2_key_pair_id" {
value = aws_key_pair.ec2_key.key_pair_id
}