-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathoutputs.tf
72 lines (44 loc) · 1.6 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
output "cpu_platform" {
value = google_compute_instance.instance.cpu_platform
description = "The CPU platform of the VM instance"
}
output "current_status" {
value = google_compute_instance.instance.current_status
description = "Current status of the VM instance"
}
output "id" {
value = google_compute_instance.instance.id
description = "An identifier for the resource"
}
output "instance_id" {
value = google_compute_instance.instance.instance_id
description = "The server-assigned unique identifier of this instance"
}
output "machine_type" {
value = google_compute_instance.instance.machine_type
description = "Type of the machine created"
}
output "min_cpu_platform" {
value = google_compute_instance.instance.min_cpu_platform
description = "Minimum CPU platform for the VM instance"
}
output "name" {
value = google_compute_instance.instance.name
description = "Unique name of the instance created"
}
output "self_link" {
value = google_compute_instance.instance.self_link
description = "The URI of the created resource"
}
output "boot_disk_size" {
value = google_compute_instance.instance.boot_disk[0].initialize_params[0].size
description = "Size of the boot disk of the instance"
}
output "private_ip" {
value = google_compute_instance.instance.network_interface[0].network_ip
description = "Internal IP address of the instance"
}
output "public_ip" {
value = google_compute_instance.instance.network_interface[0].access_config.*.nat_ip
description = "Public IP address of the instance"
}