-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix BigQuery Transfer config #2415
Conversation
Signed-off-by: Arnaud Meukam <[email protected]>
Official documentation about the resource `google_bigquery_data_transfer_config` is incorrect on some points. I added and fixed some fields and parameters blocks. Used source code of the resource and official GCP documentation: https://github.com/hashicorp/terraform-provider-google/blob/master/google/resource_bigquery_data_transfer_config.go https://cloud.google.com/bigquery/docs/copying-datasets#setting_up_a_dataset_copy Signed-off-by: Arnaud Meukam <[email protected]>
Manually triggered the transfer and we got the same tables: bq ls k8s-infra-public-pii:k8s_infra_artifacts_gcslogs
tableId Type Labels Time Partitioning Clustered Fields
--------------------------------------------------------- ------- -------- ------------------- ------------------
1_etl_test_distinct_ip_org TABLE
2_etl_test_distinct_ip_and_int_org TABLE
3_etl_test_potaroo_with_yaml_names_org TABLE
4_etl_test_potaroo_with_yaml_names_in_one_column_org TABLE
5_etl_test_vendor_with_company_name_org TABLE
6_etl_test_join_asn_and_distinct_ip_org TABLE
7_asn_company_c_ip_lookup_anazon_only TABLE
7_etl_test_join_usage_all_with_asn_and_company_name_org TABLE
asn_client_ip_lookup TABLE
total_logs_per_ip_counted9_june_2021 TABLE
usage_and_asn_data TABLE
usage_and_asn_data_bq TABLE
usage_and_asn_data_bq_distinct TABLE
usage_and_asn_data_org TABLE |
job replication is successfully launched but failed to replicated:
I'll open a followup PR for the permissions issue. This PR can be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ameukam, spiffxp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Followup of #2409.
Official documentation about the resource
google_bigquery_data_transfer_config
is incorrect on some points. I added and fixed some fields and parameters blocks.Refs:
https://github.com/hashicorp/terraform-provider-google/blob/master/google/resource_bigquery_data_transfer_config.go
https://cloud.google.com/bigquery/docs/copying-datasets#setting_up_a_dataset_copy