File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ Available targets:
207207| alarm | CloudWatch Alarm ID |
208208| ebs_ids | IDs of EBSs |
209209| id | Disambiguated ID of the instance |
210+ | name | Instance name |
210211| primary_network_interface_id | ID of the instance's primary network interface |
211212| private_dns | Private DNS of instance |
212213| private_ip | Private IP of instance |
Original file line number Diff line number Diff line change 5959| alarm | CloudWatch Alarm ID |
6060| ebs_ids | IDs of EBSs |
6161| id | Disambiguated ID of the instance |
62+ | name | Instance name |
6263| primary_network_interface_id | ID of the instance's primary network interface |
6364| private_dns | Private DNS of instance |
6465| private_ip | Private IP of instance |
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ output "id" {
2626 value = join (" " , aws_instance. default . * . id )
2727}
2828
29+ output "name" {
30+ description = " Instance name"
31+ value = module. label . id
32+ }
33+
2934output "ssh_key_pair" {
3035 description = " Name of the SSH key pair provisioned on the instance"
3136 value = var. ssh_key_pair
You can’t perform that action at this time.
0 commit comments