File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ resource "google_compute_disk" "default" {
24
24
type = "pd-ssd"
25
25
zone = "us-central1-a"
26
26
image = "debian-8-jessie-v20170523"
27
+ labels {
28
+ environment = "dev"
29
+ }
27
30
}
28
31
```
29
32
@@ -57,6 +60,8 @@ The following arguments are supported:
57
60
58
61
* ` type ` - (Optional) The GCE disk type.
59
62
63
+ * ` labels ` - (Optional) A set of key/value label pairs to assign to the image.
64
+
60
65
## Attributes Reference
61
66
62
67
In addition to the arguments listed above, the following computed attributes are
@@ -69,7 +74,9 @@ exported:
69
74
70
75
* ` self_link ` - The URI of the created resource.
71
76
72
- * ` users ` - (Computed) The Users of the created resource.
77
+ * ` users ` - The Users of the created resource.
78
+
79
+ * ` label_fingerprint ` - The fingerprint of the assigned labels.
73
80
74
81
## Import
75
82
You can’t perform that action at this time.
0 commit comments