fivetran / terraform-provider-fivetran

Terraform Provider for Fivetran
https://fivetran.com
Apache License 2.0
40 stars 24 forks source link

connector documentation to show how to create a Google Play connector #351

Closed kakarukeys closed 4 weeks ago

kakarukeys commented 2 months ago

Is your feature request related to a problem? Please describe. I was not able to create a Google Play connector because of the lack of instructions in the documentation.

Describe the solution you'd like a proper documentation with complete example, and instructions on how to get client id, secret and refresh token. The UI flow utilises OAuth, the terraform provider clearly does not, however it is not documented.

resource "fivetran_connector" "my_connector" {
  group_id = fivetran_destination.my_group.group_id

  service         = "google_play"
  run_setup_tests = true

  destination_schema {
    name = "${local.fivetran_schema_prefix}google_play"
  }

  auth {
    client_access {
      client_id     = "my_client_id"
      client_secret = "my_client_secret"
    }
    refresh_token = "my_refresh_token"
}

  config {
    bucket = "The Google Cloud Storage source bucket"
  }
}

Describe the use-cases if possible see above

Additional context Girish Sathyanarayana can provide more context

fivetran-aleksandrboldyrev commented 4 weeks ago

You need to use the general Fivetran documentation for configuring the connector, there is also a link to the API configuration. Since the provider utilizes the API - including fields and general configuration