Skip to content

Commit e21508e

Browse files
docs: fixed compute_instance_template code example (#7028) (#13332)
Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent 5a44bc1 commit e21508e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/7028.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
docs: fixed compute_instance_template code example to include missing data element.
3+
```

website/docs/r/compute_instance_template.html.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ resource "google_compute_instance_template" "instance_template" {
253253
254254
// boot disk
255255
disk {
256-
source_image = google_compute_image.my_image.self_link
256+
source_image = data.google_compute_image.my_image.self_link
257257
}
258258
}
259259
```

0 commit comments

Comments
 (0)