diff --git a/r/compute_instance.html.markdown b/r/compute_instance.html.markdown
index a3086094..a9e6a668 100644
--- a/r/compute_instance.html.markdown
+++ b/r/compute_instance.html.markdown
@@ -30,6 +30,10 @@ resource "google_compute_instance" "default" {
metadata {
foo = "bar"
}
+
+ service_account {
+ scopes = ["userinfo-email", "compute-ro", "storage-ro"]
+ }
}
```
@@ -60,6 +64,8 @@ The following arguments are supported:
specified multiple times for multiple networks. Structure is documented
below.
+* `service_account` - (Optional) Service account to attach to the instance.
+
* `tags` - (Optional) Tags to attach to the instance.
The `disk` block supports:
@@ -82,6 +88,11 @@ The `network` block supports:
* `address` - (Optional) The IP address of a reserved IP address to assign
to this interface.
+The `service_account` block supports:
+
+* `scopes` - (Required) A list of service scopes. Both OAuth2 URLs and gcloud
+ short names are supported.
+
## Attributes Reference
The following attributes are exported: