Skip to content

Commit

Permalink
Fix docs google_service_account usage (upstream) (#2785)
Browse files Browse the repository at this point in the history
Merged PR #2785.
  • Loading branch information
rileykarson authored and modular-magician committed Dec 6, 2019
1 parent 719106c commit e4c7945
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ creation. If using these resources in the same config, you can add a

## Example Usage

This snippet creates a service account, then gives it objectViewer
permission in a project.
This snippet creates a service account in a project.

```hcl
resource "google_service_account" "object_viewer" {
account_id = "object-viewer"
display_name = "Object viewer"
resource "google_service_account" "service_account" {
account_id = "service_account_id"
display_name = "Service Account"
}
```

Expand Down

0 comments on commit e4c7945

Please sign in to comment.