Skip to content

Commit 5aa797a

Browse files
author
LongKB
committed
add name and instance_type as output
1 parent 8b06888 commit 5aa797a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

outputs.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ output "arn" {
1313
)
1414
}
1515

16+
output "name" {
17+
description = "The name of the instance"
18+
value = var.name
19+
}
20+
21+
output "instance_type" {
22+
description = "The type of the instance"
23+
value = var.instance_type
24+
}
25+
1626
output "capacity_reservation_specification" {
1727
description = "Capacity reservation specification of the instance"
1828
value = try(

0 commit comments

Comments
 (0)