-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28a73ed
commit ada254d
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ terraform { | |
required_providers { | ||
gdrive = { | ||
source = "hanneshayashi/gdrive" | ||
version = "0.4.0" | ||
version = ">= 0.5.0" | ||
} | ||
} | ||
} | ||
|
@@ -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 | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
} | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|