We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How do I create a view using gcp_bigquery_table module?
gcp_bigquery_table
ansible 2.10.3 config file = /Users/<username>/.ansible.cfg configured module search path = [u'/Users/<username>/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /Users/<username>/.virtualenvs/porcelainweb/lib/python2.7/site-packages/ansible executable location = /Users/<usernamae>/.virtualenvs/porcelainweb/bin/ansible python version = 2.7.16 (default, Nov 26 2019, 20:10:25) [GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.12)]
- name: "Create views in dataset website_prod" google.cloud.gcp_bigquery_table: name: my_view dataset: my_dataset table_reference: dataset_id: my_dataset project_id: my_project table_id: my_view project: my_project view: use_legacy_sql: false user_defined_function_resources: - inline_code: "<truncated>" auth_kind: "serviceaccount" service_account_file: "{{ service_account_file }}" state: present
A view should be created in google cloud platform
"msg": "GCP returned error: {u'error': {u'status': u'INVALID_ARGUMENT', u'message': u'Query is required for views', u'code': 400, u'errors': [{u'reason': u'invalid', u'message': u'Query is required for views', u'domain': u'global'}]}}"
How do I pass the missing "Query" portion in ansible? Is there any additional documentation on creating a big query view?
The text was updated successfully, but these errors were encountered:
I hit this issue too. Have you solved it, what is resulotioin
Sorry, something went wrong.
Our resolution involved creating a custom ansible module to handle our use case. Something similar to #479
No branches or pull requests
SUMMARY
How do I create a view using gcp_bigquery_table module?
ISSUE TYPE
COMPONENT NAME
gcp_bigquery_table
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
A view should be created in google cloud platform
ACTUAL RESULTS
How do I pass the missing "Query" portion in ansible? Is there any additional documentation on creating a big query view?
The text was updated successfully, but these errors were encountered: