diff --git a/README.md b/README.md index 21ed8fa..b4d75f3 100644 --- a/README.md +++ b/README.md @@ -288,6 +288,8 @@ No modules. |------|-------------| | [ami](#output\_ami) | AMI ID that was used to create the instance | | [arn](#output\_arn) | The ARN of the instance | +| [name](#output\_name) | The name of the instance | +| [instance_type](#output\_instance_type) | The type of the instance | | [availability\_zone](#output\_availability\_zone) | The availability zone of the created instance | | [capacity\_reservation\_specification](#output\_capacity\_reservation\_specification) | Capacity reservation specification of the instance | | [ebs\_block\_device](#output\_ebs\_block\_device) | EBS block device information | diff --git a/outputs.tf b/outputs.tf index 4b3292f..d830a60 100644 --- a/outputs.tf +++ b/outputs.tf @@ -13,6 +13,16 @@ output "arn" { ) } +output "name" { + description = "The name of the instance" + value = var.name +} + +output "instance_type" { + description = "The type of the instance" + value = var.instance_type +} + output "capacity_reservation_specification" { description = "Capacity reservation specification of the instance" value = try(