diff --git a/.changelog/8767.txt b/.changelog/8767.txt
new file mode 100644
index 0000000000..d7559011ca
--- /dev/null
+++ b/.changelog/8767.txt
@@ -0,0 +1,3 @@
+```release-note:enhancement
+compute: added `member` attribute to `google_compute_default_service_account` datasource
+```
diff --git a/META.d/_summary.yaml b/META.d/_summary.yaml
deleted file mode 100644
index 9140937057..0000000000
--- a/META.d/_summary.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
----
-
-schema: 1.1
-
-partition: tf-ecosystem
-
-summary:
- owner: team-tf-hybrid-cloud
- description: |
- The Terraform Google provider beta is a plugin that allows Terraform to manage resources on Google Cloud Platform.
-
- visibility: external
-
\ No newline at end of file
diff --git a/META.d/links.yaml b/META.d/links.yaml
deleted file mode 100644
index b15cd0fc24..0000000000
--- a/META.d/links.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-runbooks: []
-#- name:
-# link:
-
-other_links: []
-#- name:
-# link:
\ No newline at end of file
diff --git a/google-beta/services/compute/data_source_google_compute_default_service_account.go b/google-beta/services/compute/data_source_google_compute_default_service_account.go
index 98bf6d8306..341ed8e37e 100644
--- a/google-beta/services/compute/data_source_google_compute_default_service_account.go
+++ b/google-beta/services/compute/data_source_google_compute_default_service_account.go
@@ -35,6 +35,10 @@ func DataSourceGoogleComputeDefaultServiceAccount() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
+ "member": {
+ Type: schema.TypeString,
+ Computed: true,
+ },
},
}
}
@@ -82,6 +86,9 @@ func dataSourceGoogleComputeDefaultServiceAccountRead(d *schema.ResourceData, me
if err := d.Set("display_name", sa.DisplayName); err != nil {
return fmt.Errorf("Error setting display_name: %s", err)
}
+ if err := d.Set("member", "serviceAccount:"+sa.Email); err != nil {
+ return fmt.Errorf("Error setting member: %s", err)
+ }
return nil
}
diff --git a/website/docs/d/compute_default_service_account.html.markdown b/website/docs/d/compute_default_service_account.html.markdown
index 3edee46bde..655e1964dc 100644
--- a/website/docs/d/compute_default_service_account.html.markdown
+++ b/website/docs/d/compute_default_service_account.html.markdown
@@ -37,3 +37,5 @@ The following attributes are exported:
* `name` - The fully-qualified name of the service account.
* `display_name` - The display name for the service account.
+
+* `member` - The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions.