Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneshayashi committed Aug 19, 2021
1 parent 28a73ed commit ada254d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
gdrive = {
source = "hanneshayashi/gdrive"
version = "0.4.0"
version = ">= 0.5.0"
}
}
}
Expand All @@ -40,7 +40,7 @@ You can authenticate in one of two ways:
1. Create a Service Account Key and configure the provider like so:
```terraform
provider "gdrive" {
service_account_key = "/path/to/sa.json" # This is the Key file for your Service Account
service_account_key = "/path/to/sa.json" # This is the path to your Service Account Key file or its content in JSON format
subject = "[email protected]" # This is the user you want to impersonate with Domain Wide Delegation
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ You can authenticate in one of two ways:
1. Create a Service Account Key and configure the provider like so:
```terraform
provider "gdrive" {
service_account_key = "/path/to/sa.json" # This is the Key file for your Service Account
service_account_key = "/path/to/sa.json" # This is the path to your Service Account Key file or its content in JSON format
subject = "[email protected]" # This is the user you want to impersonate with Domain Wide Delegation
}
```
Expand Down
4 changes: 2 additions & 2 deletions example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ terraform {
required_providers {
gdrive = {
source = "hanneshayashi/gdrive"
version = "0.4.0"
version = ">= 0.5.0"
}
}
}

provider "gdrive" {
service_account_key = "/path/to/sa.json" # This is the Key file for your Service Account
service_account_key = "/path/to/sa.json" # This is the path to your Service Account Key file or its content in JSON format
# service_account = "[email protected]" # This is the email address of your Service Account. You can leave this empty on GCE, if you want to use the instance's account
subject = "[email protected]" # This is the user you want to impersonate with Domain Wide Delegation
# retry_on = [ 404 ] # Retry on specific HTTP error codes such as 404
Expand Down

0 comments on commit ada254d

Please sign in to comment.