feat: added google_bigquery_table data source#14026
Conversation
e09ead6 to
86d1c88
Compare
google_bigquery_table data source (WIP)google_bigquery_table data source
|
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @c2thorn, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
|
After final changes: |
Tests analyticsTotal tests: 134 Click here to see the affected service packages
Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
c2thorn
left a comment
There was a problem hiding this comment.
thanks for the contribution @ramonvermeulen, this looks good to me.
Did you find the documentation to do this sufficient? https://googlecloudplatform.github.io/magic-modules/develop/add-handwritten-datasource/
2a6c3c8
Thanks for your review! Yes, I think in general the mmv1 documentation is in quite a good shape. Maybe if it needs to improved, at point 2 I would add something related to the existence of |
Closes hashicorp/terraform-provider-google#22834
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.
Acceptance tests locally:
Would like to get some thoughts on theschemaproperty, since it has a reference to itself. E.g. when the type =RECORDit has a nested schema, following the google docs this has a max depth of 15.https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tableschemahttps://cloud.google.com/bigquery/docs/nested-repeated#limitationsHow are generally slightly more complex data structures like this implemented in data sources?Edit: Took a look at #13908 and implemented in a similar manner, handling
schemajust as the same type as in the original resource (in this case json as string).Via