forked from baxnicolas/docker-dumb-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.tf
64 lines (52 loc) · 1.72 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
output "ids" {
description = "List of IDs of instances"
value = module.ec2.id
}
# output "ids_t2" {
# description = "List of IDs of t2-type instances"
# value = module.ec2_with_t2_unlimited.id
# }
output "public_dns" {
description = "List of public DNS names assigned to the instances"
value = module.ec2.public_dns
}
output "vpc_security_group_ids" {
description = "List of VPC security group ids assigned to the instances"
value = module.ec2.vpc_security_group_ids
}
output "root_block_device_volume_ids" {
description = "List of volume IDs of root block devices of instances"
value = module.ec2.root_block_device_volume_ids
}
output "ebs_block_device_volume_ids" {
description = "List of volume IDs of EBS block devices of instances"
value = module.ec2.ebs_block_device_volume_ids
}
output "tags" {
description = "List of tags"
value = module.ec2.tags
}
output "placement_group" {
description = "List of placement group"
value = module.ec2.placement_group
}
output "instance_id" {
description = "EC2 instance ID"
value = module.ec2.id[0]
}
# output "t2_instance_id" {
# description = "EC2 instance ID"
# value = module.ec2_with_t2_unlimited.id[0]
# }
output "instance_public_dns" {
description = "Public DNS name assigned to the EC2 instance"
value = module.ec2.public_dns[0]
}
output "credit_specification" {
description = "Credit specification of EC2 instance (empty list for not t2 instance types)"
value = module.ec2.credit_specification
}
# output "credit_specification_t2_unlimited" {
# description = "Credit specification of t2-type EC2 instance"
# value = module.ec2_with_t2_unlimited.credit_specification
# }