page_title | subcategory | description |
---|---|---|
airbyte_source_google_directory Resource - terraform-provider-airbyte |
SourceGoogleDirectory Resource |
SourceGoogleDirectory Resource
resource "airbyte_source_google_directory" "my_source_googledirectory" {
configuration = {
credentials = {
service_account_key = {
credentials_json = "...my_credentials_json..."
email = "...my_email..."
}
sign_in_via_google_o_auth = {
client_id = "...my_client_id..."
client_secret = "...my_client_secret..."
refresh_token = "...my_refresh_token..."
}
}
}
definition_id = "6d56a1a1-2344-4792-8dbf-ef3c86125ff9"
name = "...my_name..."
secret_id = "...my_secret_id..."
workspace_id = "192bea1a-00c3-4227-ba9d-6ca81cd994fc"
}
configuration
(Attributes) (see below for nested schema)name
(String) Name of the source e.g. dev-mysql-instance.workspace_id
(String)
definition_id
(String) The UUID of the connector definition. One of configuration.sourceType or definitionId must be provided. Requires replacement if changed.secret_id
(String) Optional secretID obtained through the public API OAuth redirect flow. Requires replacement if changed.
created_at
(Number)source_id
(String)source_type
(String)
Optional:
credentials
(Attributes) Google APIs use the OAuth 2.0 protocol for authentication and authorization. The Source supports Web server application and Service accounts scenarios. (see below for nested schema)
Optional:
service_account_key
(Attributes) For these scenario user should obtain service account's credentials from the Google API Console and provide delegated email. (see below for nested schema)sign_in_via_google_o_auth
(Attributes) For these scenario user only needs to give permission to read Google Directory data. (see below for nested schema)
Required:
credentials_json
(String, Sensitive) The contents of the JSON service account key. See the docs for more information on how to generate this key.email
(String) The email of the user, which has permissions to access the Google Workspace Admin APIs.
Required:
client_id
(String, Sensitive) The Client ID of the developer application.client_secret
(String, Sensitive) The Client Secret of the developer application.refresh_token
(String, Sensitive) The Token for obtaining a new access token.
Import is supported using the following syntax:
terraform import airbyte_source_google_directory.my_airbyte_source_google_directory ""