Hello, I started playing with the `Airbyte Terrafo...
# airbyte-api
a
Hello, I started playing with the
Airbyte Terraform provider
example: https://reference.airbyte.com/reference/using-the-terraform-provider on my OSS version
0.50.30
running on docker compose. There is a typo in the example provided to create a source:
sourceType = "stripe"
should be
source_type = "stripe"
also all worked great for me except creating the connection. Please find the error message below. As usual any info would be greatly appreciated.
Copy code
# airbyte_destination_bigquery.my_destination_bigquery will be updated in-place
  ~ resource "airbyte_destination_bigquery" "my_destination_bigquery" {
      ~ name             = "BigQuery" -> "BigQueryTF"
        # (4 unchanged attributes hidden)
    }

Plan: 1 to add, 1 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

airbyte_destination_bigquery.my_destination_bigquery: Modifying... [name=BigQuery]
airbyte_destination_bigquery.my_destination_bigquery: Modifications complete after 0s [name=BigQueryTF]
airbyte_connection.stripe_bigquery: Creating...
╷
│ Error: unexpected response from API. Got an unexpected response code 500
│ 
│   with airbyte_connection.stripe_bigquery,
│   on <http://main.tf|main.tf> line 68, in resource "airbyte_connection" "stripe_bigquery":
│   68: resource "airbyte_connection" "stripe_bigquery" {
│ 
│ **Request**:
│ POST /v1/connections HTTP/1.1
│ Host: localhost:8006
│ Accept: application/json
│ Authorization: Basic YWlyYnl0ZTpwYXNzd29yZA==
│ Content-Type: application/json
│ User-Agent: speakeasy-sdk/terraform 0.3.4 2.108.3 1.0.0
│ 
│ {"destinationId":"274517fc-204d-42b9-9264-d25e3c425e5b","name":"Stripe to
│ BigQuery","schedule":{"scheduleType":"manual"},"sourceId":"a6a60884-786e-40cc-a341-32d2ef446580"}
│ 
│ **Response**:
│ HTTP/1.1 500 Internal Server Error
│ Content-Length: 35
│ Connection: keep-alive
│ Content-Type: application/problem+json
│ Date: Thu, 05 Oct 2023 15:37:35 GMT
│ Server: nginx/1.25.2
│ 
│ {"type":"about:blank","status":500}
╵
n
facing the same problem
a
Indeed @Nicolás Mema you raised the issue just before me in this thread: https://airbytehq.slack.com/archives/C0479UYR0PM/p1696362602646729