-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathoutputs.tf
35 lines (26 loc) · 892 Bytes
/
outputs.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
#Module : Lightsail
#Description : Terraform Lightsail module variables.
output "arn" {
value = aws_lightsail_instance.instance[*].arn
description = " The ARN of the Lightsail instance."
}
output "created_at" {
value = aws_lightsail_instance.instance[*].created_at
description = "The timestamp when the instance was created."
}
output "tags" {
value = module.labels.tags
description = "A mapping of tags to assign to the resource."
}
output "instance_ip" {
value = aws_lightsail_instance.instance[*].public_ip_address
description = "The Public IP Address name of the Lightsail instance."
}
output "instance_name" {
value = aws_lightsail_instance.instance[*].name
description = "The name of the Lightsail instance."
}
output "ssh_host_public_key" {
value = aws_lightsail_key_pair.instance[*].public_key
sensitive = true
}