Not an expert in GO neither in terraform, but I am getting this error during the configuration of the source_googlesheets_resource, with a configuration like (sensitive data is masked):
│ Error: Invalid Attribute Type
│
│ with airbyte_source_google_sheets.gsheets_test,
│ on main.tf line 4, in resource "airbyte_source_google_sheets" "gsheets_test":
│ 4: resource "airbyte_source_google_sheets" "gsheets_test" {
│
│ Attribute configuration.credentials value must have exactly one child attribute defined, got:
│ {"source_google_sheets_authentication_authenticate_via_google_o_auth":<null>,"source_google_sheets_authentication_service_account_key_authentication":<null>,"source_google_sheets_update_authentication_authenticate_via_google_o_auth":<null>,"source_google_sheets_update_authentication_service_account_key_authentication":<null>}
And for what I see in the source code in line 74 we define the type of authenticate_via_google_o_auth credentials and we validate in line 93 with the type of service_account_key_authentication credentials. We can see the opposite in line 97 where we define the type of service_account_key_authentication credentials and we validate in line 107 with the type of authenticate_via_google_o_auth credentials.
If I am not mistaken we are validating the credentials wrongly 😅 I'll also appreciate an example with fake data so we can see how to use the connection properly 🙂
Not an expert in GO neither in terraform, but I am getting this error during the configuration of the
source_googlesheets_resource
, with a configuration like (sensitive data is masked):I am getting the following error:
And for what I see in the source code in line 74 we define the type of
authenticate_via_google_o_auth
credentials and we validate in line 93 with the type ofservice_account_key_authentication
credentials. We can see the opposite in line 97 where we define the type ofservice_account_key_authentication
credentials and we validate in line 107 with the type ofauthenticate_via_google_o_auth
credentials.If I am not mistaken we are validating the credentials wrongly 😅 I'll also appreciate an example with fake data so we can see how to use the connection properly 🙂
Thanks lots!